mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
21 lines
582 B
Diff
21 lines
582 B
Diff
Respect AR (bug #977691), RANLIB, and avoid passing unnecessary flags.
|
|
--- a/SConstruct
|
|
+++ b/SConstruct
|
|
@@ -804,3 +804,3 @@
|
|
# `-msse2` is implied when compiling for x86_64.
|
|
- env.Append(CCFLAGS=["-msse4.2", "-mpopcnt"])
|
|
+ pass
|
|
elif env["arch"] == "x86_32":
|
|
@@ -883,3 +883,3 @@
|
|
else:
|
|
- env.AppendUnique(LINKFLAGS=["-s"])
|
|
+ pass
|
|
|
|
--- a/platform/linuxbsd/detect.py
|
|
+++ b/platform/linuxbsd/detect.py
|
|
@@ -118,2 +118,4 @@
|
|
## Compiler configuration
|
|
+ env["AR"] = os.environ["AR"]
|
|
+ env["RANLIB"] = os.environ["RANLIB"]
|
|
|