[xulrunner] temporary gcc flags fix

Martin Stransky stransky at fedoraproject.org
Wed Sep 1 09:14:18 UTC 2010


commit 44c07e074a042e59fb97be880cf022901a59e7d9
Author: Martin Stransky <stransky at redhat.com>
Date:   Wed Sep 1 11:14:08 2010 +0200

    temporary gcc flags fix

 xulrunner.spec |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/xulrunner.spec b/xulrunner.spec
index 984eb1c..387c904 100644
--- a/xulrunner.spec
+++ b/xulrunner.spec
@@ -186,8 +186,10 @@ MOZ_APP_DIR=%{_libdir}/%{name}-${INTERNAL_GECKO}
 # 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//')
-export CFLAGS=$MOZ_OPT_FLAGS
-export CXXFLAGS=$MOZ_OPT_FLAGS
+# TODO - mozilla seems to use its own optimize config in Firefox 4,
+# we need to figure how set our gcc flags properly.
+#export CFLAGS=$MOZ_OPT_FLAGS
+#export CXXFLAGS=$MOZ_OPT_FLAGS
 
 export PREFIX='%{_prefix}'
 export LIBDIR='%{_libdir}'


More information about the scm-commits mailing list