1
0

Accepting request 674399 from home:marxin:branches:mozilla:Factory

- Enable LTO only for latest toolchain (boo#1125038).

OBS-URL: https://build.opensuse.org/request/show/674399
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=716
This commit is contained in:
Wolfgang Rosenauer 2019-02-13 07:10:01 +00:00 committed by Git OBS Bridge
parent d43b17a930
commit 6164077723
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 13 06:12:43 UTC 2019 - Martin Liška <mliska@suse.cz>
- Enable LTO only for latest new toolchain (boo#1125038).
-------------------------------------------------------------------
Mon Feb 11 10:11:45 UTC 2019 - Martin Liška <mliska@suse.cz>

View File

@ -381,8 +381,11 @@ ac_add_options --with-arch=armv7-a
ac_add_options --disable-webrtc
%endif
%ifarch x86_64
# LTO needs newer toolchain stack only (at least GCC 8.2.1 (r268506)
%if 0%{?suse_version} > 1500
ac_add_options --enable-lto
%endif
%endif
EOF
./mach build