From 65a355d0a94e97ae50dced095d5c9572fd416278 Mon Sep 17 00:00:00 2001 From: Isaac David Date: Fri, 17 Feb 2017 14:15:52 -0600 Subject: nonprism/webkit2gtk: fix ARM build --- nonprism/webkit2gtk/PKGBUILD | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nonprism/webkit2gtk/PKGBUILD') 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 } -- cgit v1.2.3