MozillaFirefox/firefox-esr.spec
branchfirefox52
changeset 976 14640a79141f
parent 975 3dafce6546a4
child 980 c0c95a18e37c
--- a/MozillaFirefox/firefox-esr.spec	Tue May 09 07:52:20 2017 +0200
+++ b/MozillaFirefox/firefox-esr.spec	Sun Jun 04 09:48:10 2017 +0200
@@ -296,9 +296,9 @@
 export MOZ_TELEMETRY_REPORTING=1
 export MOZ_GOOGLE_API_KEY=%{_google_api_key}
 export CFLAGS="%{optflags} -fno-strict-aliasing"
-# boo#986541: add -fno-delete-null-pointer-checks and -fno-inline-small-functions for gcc6
+# boo#986541: add -fno-delete-null-pointer-checks for gcc6
 %if 0%{?suse_version} > 1320
-export CFLAGS="$CFLAGS -fno-delete-null-pointer-checks -fno-inline-small-functions"
+export CFLAGS="$CFLAGS -fno-delete-null-pointer-checks"
 %endif
 %ifarch %arm
 export CFLAGS="${CFLAGS/-g / }"
@@ -338,6 +338,10 @@
 %if 0%{?build_hardened}
 ac_add_options --enable-pie
 %endif
+# gcc7 (boo#104105)
+%if 0%{?suse_version} > 1320
+ac_add_options --enable-optimize="-g -O2"
+%endif
 %ifarch %ix86 %arm
 %if 0%{?suse_version} > 1230
 ac_add_options --disable-optimize