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:
Wolfgang Rosenauer 2019-09-25 08:59:57 +00:00 committed by Git OBS Bridge
parent 42f080f490
commit 05dad937b9
2 changed files with 8 additions and 0 deletions

View File

@ -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>

View File

@ -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