summaryrefslogtreecommitdiff
path: root/arc4_enable-lto-for-gcc.patch
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2020-12-14 20:52:49 -0800
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2020-12-14 20:52:49 -0800
commitfbd3297da736e86f4f8b90785c42a4dcded361ac (patch)
tree79715aac18a5f799f39d03b99c0beb965017fc0a /arc4_enable-lto-for-gcc.patch
parentRebuild with patch cause rust broke firefox again (diff)
downloadfirefox-fbd3297da736e86f4f8b90785c42a4dcded361ac.tar.xz
Updated to 84.0
Diffstat (limited to 'arc4_enable-lto-for-gcc.patch')
-rw-r--r--arc4_enable-lto-for-gcc.patch11
1 files changed, 5 insertions, 6 deletions
diff --git a/arc4_enable-lto-for-gcc.patch b/arc4_enable-lto-for-gcc.patch
index 9f149e8..982f68a 100644
--- a/arc4_enable-lto-for-gcc.patch
+++ b/arc4_enable-lto-for-gcc.patch
@@ -4,12 +4,11 @@
# 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']
+-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()
+ DEFINES["NS_NO_XPCOM"] = True
+ DisableStlWrapping()