diff options
Diffstat (limited to 'www-client/firefox/files/firefox-60.0-sandbox-lto.patch')
-rw-r--r-- | www-client/firefox/files/firefox-60.0-sandbox-lto.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/www-client/firefox/files/firefox-60.0-sandbox-lto.patch b/www-client/firefox/files/firefox-60.0-sandbox-lto.patch new file mode 100644 index 000000000000..990cb4fbee77 --- /dev/null +++ b/www-client/firefox/files/firefox-60.0-sandbox-lto.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/666580 + +--- a/security/sandbox/linux/moz.build ++++ b/security/sandbox/linux/moz.build +@@ -101,7 +101,7 @@ if CONFIG['CC_TYPE'] in ('clang', 'gcc'): + # forcing there to be only one partition. + for f in CONFIG['OS_CXXFLAGS']: + if f.startswith('-flto') and CONFIG['CC_TYPE'] != 'clang': +- LDFLAGS += ['--param lto-partitions=1'] ++ LDFLAGS += ['--param=lto-partitions=1'] + + DEFINES['NS_NO_XPCOM'] = True + DisableStlWrapping() |