From d0f3dbebef986faf86d8a69b714af2d3a1416aad Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Sat, 7 Dec 2019 15:57:20 -0800 Subject: Updated to 68.3.0 --- arc4_enable-pgo-for-gcc.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 arc4_enable-pgo-for-gcc.patch (limited to 'arc4_enable-pgo-for-gcc.patch') 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() + -- cgit v1.2.1