diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2021-12-10 10:10:47 -0600 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2021-12-10 12:14:27 -0600 |
commit | 368c0bc0acfe4621f21195193633bf7f28cbd4a7 (patch) | |
tree | 9b06a59bd5e71f8527df49e5b081541df4e85161 /platform | |
parent | 4f9b6d9a3f7ba9315312c563ca6f805b60b635ab (diff) |
Misc build system fixes
Diffstat (limited to 'platform')
-rw-r--r-- | platform/android/detect.py | 2 | ||||
-rw-r--r-- | platform/linuxbsd/detect.py | 2 | ||||
-rw-r--r-- | platform/osx/detect.py | 2 | ||||
-rw-r--r-- | platform/windows/detect.py | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/platform/android/detect.py b/platform/android/detect.py index 6f98dab2cc..3319d5890c 100644 --- a/platform/android/detect.py +++ b/platform/android/detect.py @@ -152,7 +152,7 @@ def configure(env): abi_subpath = "i686-linux-android" arch_subpath = "x86" env["x86_libtheora_opt_gcc"] = True - if env["android_arch"] == "x86_64": + elif env["android_arch"] == "x86_64": if get_platform(env["ndk_platform"]) < 21: print( "WARNING: android_arch=x86_64 is not supported by ndk_platform lower than android-21; setting" diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py index 07e16a982b..ab643b254a 100644 --- a/platform/linuxbsd/detect.py +++ b/platform/linuxbsd/detect.py @@ -161,7 +161,7 @@ def configure(env): env.Append(LINKFLAGS=["-ftest-coverage", "-fprofile-arcs"]) if env["use_ubsan"] or env["use_asan"] or env["use_lsan"] or env["use_tsan"] or env["use_msan"]: - env.extra_suffix += "s" + env.extra_suffix += ".san" if env["use_ubsan"]: env.Append( diff --git a/platform/osx/detect.py b/platform/osx/detect.py index f5c7731395..c67791b340 100644 --- a/platform/osx/detect.py +++ b/platform/osx/detect.py @@ -124,7 +124,7 @@ def configure(env): env["AS"] = basecmd + "as" if env["use_ubsan"] or env["use_asan"] or env["use_tsan"]: - env.extra_suffix += "s" + env.extra_suffix += ".san" if env["use_ubsan"]: env.Append( diff --git a/platform/windows/detect.py b/platform/windows/detect.py index aaaa50e729..e9ecc99ef5 100644 --- a/platform/windows/detect.py +++ b/platform/windows/detect.py @@ -308,7 +308,7 @@ def configure_msvc(env, manual_msvc_config): # Sanitizers if env["use_asan"]: - env.extra_suffix += ".s" + env.extra_suffix += ".san" env.Append(LINKFLAGS=["/INFERASANLIBS"]) env.Append(CCFLAGS=["/fsanitize=address"]) |