firefox/mozilla-1516803.patch

16 lines
832 B
Diff
Raw Normal View History

2020-12-10 19:02:09 +00:00
diff -up firefox-84.0/security/sandbox/linux/moz.build.1516803 firefox-84.0/security/sandbox/linux/moz.build
--- firefox-84.0/security/sandbox/linux/moz.build.1516803 2020-12-10 16:17:55.425139545 +0100
+++ firefox-84.0/security/sandbox/linux/moz.build 2020-12-10 16:29:21.945860841 +0100
@@ -114,9 +114,8 @@ if CONFIG["CC_TYPE"] in ("clang", "gcc")
2019-01-03 14:35:59 +00:00
# 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.
2020-12-10 19:02:09 +00:00
-for f in CONFIG["OS_CXXFLAGS"]:
- if f.startswith("-flto") and CONFIG["CC_TYPE"] != "clang":
- LDFLAGS += ["--param lto-partitions=1"]
2019-01-03 14:35:59 +00:00
+if CONFIG['CC_TYPE'] != 'clang':
+ LDFLAGS += ['--param', 'lto-partitions=1']
2020-12-10 19:02:09 +00:00
DEFINES["NS_NO_XPCOM"] = True
2019-01-03 14:35:59 +00:00
DisableStlWrapping()