summaryrefslogtreecommitdiff
path: root/dev-games/godot-dotnet/files/godot-4.5-scons.patch
blob: 581d5dda072e198924b28f90d5a342df2c725bb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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"]