- remove -fno-inline-small-functions

OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=590
This commit is contained in:
Wolfgang Rosenauer 2017-05-23 14:01:40 +00:00 committed by Git OBS Bridge
parent 878eeecd5a
commit 278dea96e3
2 changed files with 4 additions and 3 deletions

View File

@ -1,8 +1,9 @@
-------------------------------------------------------------------
Mon May 22 11:54:16 UTC 2017 - wr@rosenauer.org
Tue May 23 14:00:40 UTC 2017 - wr@rosenauer.org
- only optimize with -O2 for openSUSE > 13.2/Leap 42 (gcc7)
(boo#1040105)
- remove -fno-inline-small-functions
-------------------------------------------------------------------
Mon May 8 08:28:17 UTC 2017 - wr@rosenauer.org

View File

@ -295,9 +295,9 @@ export BUILD_OFFICIAL=1
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 / }"