summaryrefslogtreecommitdiff
path: root/extra/webkitgtk/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-05-01 09:33:30 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2013-05-01 09:33:30 +0200
commit30361fcf6cc3dfa38d4b033ccb9fe33ddd17ebe7 (patch)
tree0648f91a71513075d7a0ba354292162d121b42d8 /extra/webkitgtk/PKGBUILD
parentc9f24b5e67b10a25e7ffa9afaefbd6ca76342940 (diff)
Remove unused patch, reorder webkitgtk mips64el changes.
Diffstat (limited to 'extra/webkitgtk/PKGBUILD')
-rw-r--r--extra/webkitgtk/PKGBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/extra/webkitgtk/PKGBUILD b/extra/webkitgtk/PKGBUILD
index 548aab32c..42150b61d 100644
--- a/extra/webkitgtk/PKGBUILD
+++ b/extra/webkitgtk/PKGBUILD
@@ -16,11 +16,6 @@ sha256sums=('6303552a39d7912725d75bc55f530cdb99171fb873e299798d0bb932d6ea76cb')
prepare() {
cd $pkgbase-$pkgver
mkdir build-gtk3
-}
-
-build() {
- cd $pkgbase-$pkgver/build-gtk3
-
if [ "$CARCH" = "mips64el" ]; then
# Fix MIPS N32 support.
sed -i 's/defined(_ABIO32)/(defined(_ABIO32) || defined(_ABIN32))/' \
@@ -28,10 +23,15 @@ build() {
# Don't enable JIT even if configure finds that it's not supported.
sed -i 's/#define ENABLE_JIT 1/#define ENABLE_JIT 0/' \
Source/WTF/wtf/Platform.h
+ fi
+}
-# --disable-optimizations will add -O0
- export CFLAGS="${CFLAGS/-O[0-9]}"
+build() {
+ cd $pkgbase-$pkgver/build-gtk3
+ if [ "$CARCH" = "mips64el" ]; then
+ # --disable-optimizations will add -O0
+ export CFLAGS="${CFLAGS/-O[0-9]}"
extra="--disable-fast-malloc --disable-optimizations"
fi