forked from ports/contrib
29 lines
1017 B
Diff
29 lines
1017 B
Diff
From 6eeeca1b673a60d3e51427b2a5cf3e916bdb012b Mon Sep 17 00:00:00 2001
|
|
From: Thomas Deutschmann <whissi@gentoo.org>
|
|
Date: Mon, 6 Apr 2020 19:44:28 +0200
|
|
Subject: [PATCH 09/30] bmo#1516803: Fix building sandbox
|
|
|
|
Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1516803
|
|
Bug: https://bugs.gentoo.org/666580
|
|
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
|
|
---
|
|
security/sandbox/linux/moz.build | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/security/sandbox/linux/moz.build b/security/sandbox/linux/moz.build
|
|
index 573f667812..e62d1a99a4 100644
|
|
--- a/security/sandbox/linux/moz.build
|
|
+++ b/security/sandbox/linux/moz.build
|
|
@@ -116,7 +116,7 @@ if CONFIG["CC_TYPE"] in ("clang", "gcc"):
|
|
# 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"]
|
|
+ LDFLAGS += ["--param", "lto-partitions=1"]
|
|
|
|
DEFINES["NS_NO_XPCOM"] = True
|
|
DisableStlWrapping()
|
|
--
|
|
2.34.1
|
|
|