summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-04-09 19:34:42 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-04-09 19:34:42 -0300
commitc9595af54cee73811e7b945d164de0aaf3b9fe49 (patch)
tree3b0cb699682165c0a5366028d713a723a950db44
parentc28f2d962665f9a21c97880461650bbb1f50eb75 (diff)
downloadabslibre-c9595af54cee73811e7b945d164de0aaf3b9fe49.tar.gz
abslibre-c9595af54cee73811e7b945d164de0aaf3b9fe49.tar.bz2
abslibre-c9595af54cee73811e7b945d164de0aaf3b9fe49.zip
iceweasel-libre: droping CPPFLAGS and adding -D_FORTIFY_SOURCE=2 to CFLAGS and CXXFLAGS variable
-rw-r--r--libre/iceweasel-libre/PKGBUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/libre/iceweasel-libre/PKGBUILD b/libre/iceweasel-libre/PKGBUILD
index 19b9ee9a2..283d6e088 100644
--- a/libre/iceweasel-libre/PKGBUILD
+++ b/libre/iceweasel-libre/PKGBUILD
@@ -144,10 +144,16 @@ build() {
fi
if $_pgo; then
+ unset CPPFLAGS
+ export CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2"
+ export CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2"
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"
kill $! || true
else
+ unset CPPFLAGS
+ export CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2"
+ export CXXFLAGS="$CXXFLAGS -D_FORTIFY_SOURCE=2"
LD_PRELOAD="" make -j1 -f client.mk build MOZ_MAKE_FLAGS="$MAKEFLAGS"
fi
}