mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-19 07:49:00 -04:00
Closes: https://bugs.gentoo.org/532730 Closes: https://github.com/gentoo/gentoo/pull/17874 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Ross Charles Campbell <rossbridger.cc@gmail.com>
37 lines
1.2 KiB
Diff
37 lines
1.2 KiB
Diff
diff --git a/SConstruct b/SConstruct
|
|
index 26019e6..f460aef 100644
|
|
--- a/SConstruct
|
|
+++ b/SConstruct
|
|
@@ -170,6 +170,8 @@ opts.Add(BoolVariable("builtin_zstd", "Use the built-in Zstd library", True))
|
|
# Compilation environment setup
|
|
opts.Add("CXX", "C++ compiler")
|
|
opts.Add("CC", "C compiler")
|
|
+opts.Add("AR", "Archiver")
|
|
+opts.Add("RANLIB", "Random Access Library Indexer")
|
|
opts.Add("LINK", "Linker")
|
|
opts.Add("CCFLAGS", "Custom flags for both the C and C++ compilers")
|
|
opts.Add("CFLAGS", "Custom flags for the C compiler")
|
|
diff --git a/platform/x11/detect.py b/platform/x11/detect.py
|
|
index 716930d..28b1df4 100644
|
|
--- a/platform/x11/detect.py
|
|
+++ b/platform/x11/detect.py
|
|
@@ -130,7 +130,6 @@ def configure(env):
|
|
env["CXX"] = "clang++"
|
|
env["LINK"] = "clang++"
|
|
env.Append(CPPDEFINES=["TYPED_METHOD_BIND"])
|
|
- env.extra_suffix = ".llvm" + env.extra_suffix
|
|
|
|
if env["use_lld"]:
|
|
if env["use_llvm"]:
|
|
@@ -173,10 +172,6 @@ def configure(env):
|
|
env.Append(CCFLAGS=["-flto"])
|
|
env.Append(LINKFLAGS=["-flto"])
|
|
|
|
- if not env["use_llvm"]:
|
|
- env["RANLIB"] = "gcc-ranlib"
|
|
- env["AR"] = "gcc-ar"
|
|
-
|
|
env.Append(CCFLAGS=["-pipe"])
|
|
env.Append(LINKFLAGS=["-pipe"])
|
|
|