summaryrefslogtreecommitdiff
path: root/nonprism/webkit2gtk/PKGBUILD
diff options
context:
space:
mode:
authorIsaac David <isacdaavid@isacdaavid.info>2017-02-17 14:15:52 -0600
committerIsaac David <isacdaavid@isacdaavid.info>2017-02-17 14:15:52 -0600
commit65a355d0a94e97ae50dced095d5c9572fd416278 (patch)
tree75d9360d4138882d64de76f26c08364e348e1608 /nonprism/webkit2gtk/PKGBUILD
parentf84c1eb38a384533e282f979ea7f714c5a4545ef (diff)
downloadabslibre-65a355d0a94e97ae50dced095d5c9572fd416278.tar.gz
abslibre-65a355d0a94e97ae50dced095d5c9572fd416278.tar.bz2
abslibre-65a355d0a94e97ae50dced095d5c9572fd416278.zip
nonprism/webkit2gtk: fix ARM build
Diffstat (limited to 'nonprism/webkit2gtk/PKGBUILD')
-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
}