diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-04-10 15:03:21 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-04-10 15:03:21 -0300 |
commit | 4cf9c947c794fe5e5906d3c5350e9aada30b31ae (patch) | |
tree | d99092e47ba49d6c462f57e39affc2e8dda67795 /libre/iceape-libre/PKGBUILD | |
parent | f99c89c057344416abcf7c0a10d85a39cc36b9af (diff) | |
download | abslibre-4cf9c947c794fe5e5906d3c5350e9aada30b31ae.tar.gz abslibre-4cf9c947c794fe5e5906d3c5350e9aada30b31ae.tar.bz2 abslibre-4cf9c947c794fe5e5906d3c5350e9aada30b31ae.zip |
ice{ape-libre,cat,dove-libre,weasel-libre}: Add workaround for preprocessor misdetection
Diffstat (limited to 'libre/iceape-libre/PKGBUILD')
-rw-r--r-- | libre/iceape-libre/PKGBUILD | 8 |
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}" } |