summaryrefslogtreecommitdiff
path: root/libre/iceape-libre
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-04-11 00:04:39 -0700
committerroot <root@rshg054.dnsready.net>2013-04-11 00:04:39 -0700
commit337402b957bab442da9e0d46ee7a8d8f32ede3ce (patch)
treeede23528c497381b6f3468a5acffc69236eefc76 /libre/iceape-libre
parent5aa2d7527764c179fd31c1c3505b572773224c94 (diff)
Thu Apr 11 00:04:39 PDT 2013
Diffstat (limited to 'libre/iceape-libre')
-rw-r--r--libre/iceape-libre/PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/libre/iceape-libre/PKGBUILD b/libre/iceape-libre/PKGBUILD
index 3c0d6942a..b86107e16 100644
--- a/libre/iceape-libre/PKGBUILD
+++ b/libre/iceape-libre/PKGBUILD
@@ -93,9 +93,11 @@ build() {
rsvg-convert -w 128 -h 128 -o ${DEBIAN_BRANDING_DIR}/app-icons/iceape128.png ${DEBIAN_BRANDING_DIR}/iceape_icon_plain.svg
cp "${srcdir}/mozconfig" .mozconfig
- unset CPPFLAGS
- CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2"
- CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2"
+
+ # configure script misdetects the preprocessor without an optimization level
+ # https://bugs.archlinux.org/task/34644
+ sed -i '/ac_cpp=/s/$CPPFLAGS/& -O2/' configure
+
make -j1 -f client.mk build MOZ_MAKE_FLAGS="${MAKEFLAGS}"
}