logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git

godot-4.0_rc3-scons.patch (506B)


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