You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
SCons: Fix usage of LD when we meant LINK
Also made LINK and CXXFLAGS configurable as command line options. Note that LINK currently expects the *compiler* that will be used for linking and will call its configured linker behind the scenes (so g++, clang++, etc., not ld.gold). See #15364 for details.
This commit is contained in:
@@ -265,7 +265,7 @@ def configure(env):
|
||||
env['CXX'] = mingw_prefix + "g++"
|
||||
env['AR'] = mingw_prefix + "gcc-ar"
|
||||
env['RANLIB'] = mingw_prefix + "gcc-ranlib"
|
||||
env['LD'] = mingw_prefix + "g++"
|
||||
env['LINK'] = mingw_prefix + "g++"
|
||||
env["x86_libtheora_opt_gcc"] = True
|
||||
|
||||
if env['use_lto']:
|
||||
|
||||
Reference in New Issue
Block a user