You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
SCons: Remove unnecessary $LINK overrides
As of SCons 4.0.1, the default value for $LINK is $SMARTLINK, which itself is a function that will use $CXX as linker for C++: https://github.com/SCons/scons/blob/4.0.1/SCons/Tool/link.py#L327-L328 https://github.com/SCons/scons/blob/4.0.1/SCons/Tool/link.py#L54-L76 So we don't need to manually specify the same value as $CXX for $LINK.
This commit is contained in:
@@ -383,18 +383,17 @@ def configure_mingw(env):
|
||||
|
||||
if env["use_llvm"]:
|
||||
env["CC"] = mingw_prefix + "clang"
|
||||
env["AS"] = mingw_prefix + "as"
|
||||
env["CXX"] = mingw_prefix + "clang++"
|
||||
env["AS"] = mingw_prefix + "as"
|
||||
env["AR"] = mingw_prefix + "ar"
|
||||
env["RANLIB"] = mingw_prefix + "ranlib"
|
||||
env["LINK"] = mingw_prefix + "clang++"
|
||||
else:
|
||||
env["CC"] = mingw_prefix + "gcc"
|
||||
env["AS"] = mingw_prefix + "as"
|
||||
env["CXX"] = mingw_prefix + "g++"
|
||||
env["AS"] = mingw_prefix + "as"
|
||||
env["AR"] = mingw_prefix + "gcc-ar"
|
||||
env["RANLIB"] = mingw_prefix + "gcc-ranlib"
|
||||
env["LINK"] = mingw_prefix + "g++"
|
||||
|
||||
env["x86_libtheora_opt_gcc"] = True
|
||||
|
||||
if env["use_lto"]:
|
||||
|
||||
Reference in New Issue
Block a user