You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-games/godot/files/godot-4.0_rc3-scons.patch

16 lines
506 B

--- a/SConstruct
+++ b/SConstruct
@@ -241,2 +241,3 @@
opts.Add("CC", "C compiler")
+opts.Add("AR", "Archiver")
opts.Add("LINK", "Linker")
@@ -569,8 +570,2 @@
env.Append(CCFLAGS=["-g2"])
- else:
- if methods.using_clang(env) and not methods.is_vanilla_clang(env):
- # Apple Clang, its linker doesn't like -s.
- env.Append(LINKFLAGS=["-Wl,-S", "-Wl,-x", "-Wl,-dead_strip"])
- else:
- env.Append(LINKFLAGS=["-s"])