[xulrunner] optimize
Tom Callaway
spot at fedoraproject.org
Tue Sep 7 16:16:08 UTC 2010
commit d930933b8f803a3809ab99bd3e9a5de3e4d872cc
Author: Tom "spot" Callaway <tcallawa at redhat.com>
Date: Tue Sep 7 12:16:09 2010 -0400
optimize
xulrunner-mozconfig | 2 +-
xulrunner.spec | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/xulrunner-mozconfig b/xulrunner-mozconfig
index fa47503..479b147 100644
--- a/xulrunner-mozconfig
+++ b/xulrunner-mozconfig
@@ -19,7 +19,7 @@ ac_add_options --disable-tests
ac_add_options --disable-mochitest
ac_add_options --disable-installer
ac_add_options --disable-debug
-ac_add_options --enable-optimize
+ac_add_options --enable-optimize="$MOZ_OPT_FLAGS"
ac_add_options --enable-xinerama
ac_add_options --enable-default-toolkit=cairo-gtk2
ac_add_options --enable-pango
diff --git a/xulrunner.spec b/xulrunner.spec
index 4c64456..4937c3d 100644
--- a/xulrunner.spec
+++ b/xulrunner.spec
@@ -186,7 +186,7 @@ MOZ_APP_DIR=%{_libdir}/%{name}-${INTERNAL_GECKO}
# Mozilla builds with -Wall with exception of a few warnings which show up
# everywhere in the code; so, don't override that.
# and disable C++ exceptions
-MOZ_OPT_FLAGS=$(echo $RPM_OPT_FLAGS | %{__sed} -e 's/-Wall//' | %{__sed} -e 's/-fexceptions/-fno-exceptions/')
+export MOZ_OPT_FLAGS=$(echo $RPM_OPT_FLAGS | %{__sed} -e 's/-Wall//' | %{__sed} -e 's/-fexceptions/-fno-exceptions/g')
export CFLAGS=$MOZ_OPT_FLAGS
export CXXFLAGS=$MOZ_OPT_FLAGS
More information about the scm-commits
mailing list