[thunderbird-lightning/el6] enable optimize, drop -Wformat-secure -Wformat
Orion Poplawski
orion at fedoraproject.org
Wed Oct 22 22:26:26 UTC 2014
commit a54c511d343cbb306c9749d0c8f12d5f66cee844
Author: Orion Poplawski <orion at cora.nwra.com>
Date: Wed Oct 22 16:26:29 2014 -0600
enable optimize, drop -Wformat-secure -Wformat
thunderbird-lightning.spec | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/thunderbird-lightning.spec b/thunderbird-lightning.spec
index 79f535f..881978a 100644
--- a/thunderbird-lightning.spec
+++ b/thunderbird-lightning.spec
@@ -239,6 +239,9 @@ echo "ac_add_options --disable-webrtc" >> .mozconfig
echo "ac_add_options --disable-ogg" >> .mozconfig
echo "ac_add_options --disable-opus" >> .mozconfig
+echo "ac_add_options --disable-debug" >> .mozconfig
+echo "ac_add_options --enable-optimize" >> .mozconfig
+
# Fix permissions
find -name \*.js -type f | xargs chmod -x
@@ -276,8 +279,6 @@ MOZ_APP_DIR=%{mozappdir}
#
MOZ_OPT_FLAGS=$(echo "$RPM_OPT_FLAGS" | \
%{__sed} -e 's/-Wall//')
-# https://bugzilla.redhat.com/show_bug.cgi?id=1037355
-MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -Wformat-security -Wformat"
export CFLAGS=$MOZ_OPT_FLAGS
export CXXFLAGS=$MOZ_OPT_FLAGS
More information about the scm-commits
mailing list