summaryrefslogtreecommitdiff
path: root/libre/icecat
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-04-10 15:03:21 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-04-10 15:03:21 -0300
commit4cf9c947c794fe5e5906d3c5350e9aada30b31ae (patch)
treed99092e47ba49d6c462f57e39affc2e8dda67795 /libre/icecat
parentf99c89c057344416abcf7c0a10d85a39cc36b9af (diff)
ice{ape-libre,cat,dove-libre,weasel-libre}: Add workaround for preprocessor misdetection
Diffstat (limited to 'libre/icecat')
-rw-r--r--libre/icecat/PKGBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/libre/icecat/PKGBUILD b/libre/icecat/PKGBUILD
index 6898105d8..bf16eca0b 100644
--- a/libre/icecat/PKGBUILD
+++ b/libre/icecat/PKGBUILD
@@ -136,6 +136,10 @@ build() {
chmod +x build/unix/run-icecat.sh # fix bug for bad file permition
+ # configure script misdetects the preprocessor without an optimization level
+ # https://bugs.archlinux.org/task/34644
+ sed -i '/ac_cpp=/s/$CPPFLAGS/& -O2/' configure
+
if $_pgo; then
LD_PRELOAD="" /usr/bin/Xvfb -nolisten tcp -extension GLX -screen 0 1280x1024x24 :99 &
LD_PRELOAD="" DISPLAY=:99 make -j1 -f client.mk profiledbuild MOZ_MAKE_FLAGS=$MAKEFLAGS