summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nonprism/webkit2gtk/PKGBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/nonprism/webkit2gtk/PKGBUILD b/nonprism/webkit2gtk/PKGBUILD
index 746901491..765fb4e4c 100644
--- a/nonprism/webkit2gtk/PKGBUILD
+++ b/nonprism/webkit2gtk/PKGBUILD
@@ -39,6 +39,10 @@ build() {
-DLIB_INSTALL_DIR=/usr/lib -DLIBEXEC_INSTALL_DIR=/usr/lib/webkit2gtk-4.0 \
-DUSE_GEOCLUE2=OFF -DENABLE_GEOLOCATION=OFF \
-DENABLE_GTKDOC=ON -DPYTHON_EXECUTABLE=/usr/bin/python2 ../webkitgtk-$pkgver
+ if [[ "$CARCH" =~ ^arm*|^aarch64$ ]]; then
+ # strip -O3 from cmake generated makefiles
+ find ./ -type f -exec sed -i -e 's/-O3//g' {} \;
+ fi
make
}