summaryrefslogtreecommitdiff
path: root/arc4_enable-lto-for-gcc.patch
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2021-11-14 13:46:45 -0800
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2021-11-14 13:46:45 -0800
commitffde62ba027c26b7c672882c2da47e598f99a7e8 (patch)
tree529072e3d90929951e05d71af7e7a26b46260791 /arc4_enable-lto-for-gcc.patch
parentArchive some old patches before I delete them. (diff)
downloadfirefox-esr-ffde62ba027c26b7c672882c2da47e598f99a7e8.tar.xz
Delete old patches, as firefox appears to hard-require clang now.
Diffstat (limited to 'arc4_enable-lto-for-gcc.patch')
-rw-r--r--arc4_enable-lto-for-gcc.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/arc4_enable-lto-for-gcc.patch b/arc4_enable-lto-for-gcc.patch
deleted file mode 100644
index 982f68a..0000000
--- a/arc4_enable-lto-for-gcc.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- 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()