diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-15 12:10:10 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-15 12:10:10 +0200 |
commit | 51cb2df1f608ed8dde615eff834b98ee233504d4 (patch) | |
tree | f522c55e42bb16d2d1b05acde2e85741683713a1 | |
parent | 49c557c54cc846c52da3a5425afe69c93c765ec1 (diff) | |
parent | 2818abe9edaa9d583365d4c39633a7d95c93e1d5 (diff) | |
download | redot-engine-51cb2df1f608ed8dde615eff834b98ee233504d4.tar.gz |
Merge pull request #91972 from bruvzg/more_flags
[SCons] Add options to override AR, AR and RC flags
-rw-r--r-- | SConstruct | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index d20c99f751..07ec014cf9 100644 --- a/SConstruct +++ b/SConstruct @@ -287,6 +287,9 @@ opts.Add("ccflags", "Custom flags for both the C and C++ compilers") opts.Add("cxxflags", "Custom flags for the C++ compiler") opts.Add("cflags", "Custom flags for the C compiler") opts.Add("linkflags", "Custom flags for the linker") +opts.Add("asflags", "Custom flags for the assembler") +opts.Add("arflags", "Custom flags for the archive tool") +opts.Add("rcflags", "Custom flags for Windows resource compiler") # Update the environment to have all above options defined # in following code (especially platform and custom_modules). @@ -533,6 +536,9 @@ env.Append(CCFLAGS=env.get("ccflags", "").split()) env.Append(CXXFLAGS=env.get("cxxflags", "").split()) env.Append(CFLAGS=env.get("cflags", "").split()) env.Append(LINKFLAGS=env.get("linkflags", "").split()) +env.Append(ASFLAGS=env.get("asflags", "").split()) +env.Append(ARFLAGS=env.get("arflags", "").split()) +env.Append(RCFLAGS=env.get("rcflags", "").split()) # Feature build profile env.disabled_classes = [] |