c5da2d
diff -up firefox-84.0/security/sandbox/linux/moz.build.1516803 firefox-84.0/security/sandbox/linux/moz.build
c5da2d
--- firefox-84.0/security/sandbox/linux/moz.build.1516803	2020-12-10 16:17:55.425139545 +0100
c5da2d
+++ firefox-84.0/security/sandbox/linux/moz.build	2020-12-10 16:29:21.945860841 +0100
c5da2d
@@ -114,9 +114,8 @@ if CONFIG["CC_TYPE"] in ("clang", "gcc")
c5da2d
 # gcc lto likes to put the top level asm in syscall.cc in a different partition
c5da2d
 # from the function using it which breaks the build.  Work around that by
c5da2d
 # forcing there to be only one partition.
c5da2d
-for f in CONFIG["OS_CXXFLAGS"]:
c5da2d
-    if f.startswith("-flto") and CONFIG["CC_TYPE"] != "clang":
c5da2d
-        LDFLAGS += ["--param lto-partitions=1"]
c5da2d
+if CONFIG['CC_TYPE'] != 'clang':
c5da2d
+    LDFLAGS += ['--param', 'lto-partitions=1']
c5da2d
 
c5da2d
 DEFINES["NS_NO_XPCOM"] = True
c5da2d
 DisableStlWrapping()