forked from pool/MozillaFirefox
Accepting request 733089 from home:bmwiedemann:branches:mozilla:Factory
Allow to build without profile guided optimizations (boo#1040589) OBS-URL: https://build.opensuse.org/request/show/733089 OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=771
This commit is contained in:
parent
1ff1de7746
commit
b4dcd00367
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 25 07:03:29 UTC 2019 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||
|
||||
- Allow to build without profile guided optimizations (boo#1040589)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 20 09:21:05 UTC 2019 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -454,10 +454,13 @@ ac_add_options --enable-optimize="-O1"
|
||||
%ifarch x86_64
|
||||
# LTO needs newer toolchain stack only (at least GCC 8.2.1 (r268506)
|
||||
%if 0%{?suse_version} > 1500
|
||||
%if 0%{?do_profiling}
|
||||
ac_add_options --enable-lto
|
||||
# for some reason, building with LTO fails without PGO
|
||||
ac_add_options MOZ_PGO=1
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
EOF
|
||||
%if !%{with only_print_mozconfig}
|
||||
%ifarch ppc64 s390x s390
|
||||
|
Loading…
Reference in New Issue
Block a user