diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2020-01-12 05:13:49 -0800 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2020-01-12 05:13:49 -0800 |
commit | 7ec5880b7080bbb959941f0decbadf579852aabd (patch) | |
tree | 758210152050ffbe6227fc383d045617d7dc3381 /arc4_enable-pgo-for-gcc.patch | |
parent | Remove certs fix (diff) | |
download | firefox-7ec5880b7080bbb959941f0decbadf579852aabd.tar.xz |
Updated to 72.0.1
Diffstat (limited to 'arc4_enable-pgo-for-gcc.patch')
-rw-r--r-- | arc4_enable-pgo-for-gcc.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arc4_enable-pgo-for-gcc.patch b/arc4_enable-pgo-for-gcc.patch new file mode 100644 index 0000000..9f149e8 --- /dev/null +++ b/arc4_enable-pgo-for-gcc.patch @@ -0,0 +1,15 @@ +--- a/security/sandbox/linux/moz.build ++++ b/security/sandbox/linux/moz.build +@@ -99,9 +99,8 @@ if CONFIG['CC_TYPE'] in ('clang', 'gcc') + # gcc lto likes to put the top level asm in syscall.cc in a different partition + # from the function using it which breaks the build. Work around that by + # 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'] ++if CONFIG['CC_TYPE'] != 'clang': ++ LDFLAGS += ['--param', 'lto-partitions=1'] + + DEFINES['NS_NO_XPCOM'] = True + DisableStlWrapping() + |