blob: 0c1ab346d0e3ee400ad261d05646793fec8cc248 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- a/SConstruct
+++ b/SConstruct
@@ -274,2 +274,3 @@
opts.Add("CC", "C compiler binary")
+opts.Add("AR", "Archiver")
opts.Add("LINK", "Linker binary")
@@ -749,8 +750,2 @@
env.Append(CCFLAGS=[f"-ffile-prefix-map={project_path}=."])
- else:
- if methods.is_apple_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"])
|