diff options
author | 2023-02-27 06:11:37 +1100 | |
---|---|---|
committer | 2023-02-27 06:11:37 +1100 | |
commit | 383ab43dbcdcbcbfb0c403fe26fac5d8aa5ed0c5 (patch) | |
tree | 659f639ca52cf6de1a9b29f4df6815d65a6a7920 /scripts/toolchain.lua | |
parent | 6d72820d8d46e4dd479612c6d4cf3496ab0f0b00 (diff) |
Various cleanups:
* cpu/dsp56156: Removed vestigial (and excessively slow) "new" execution code.
* apple/bandit.cpp: Got rid of unnecessary friend declaration.
* nintendo/n64_v.cpp: More const.
* Fixed a few "const qualifier has no effect" warnings.
Diffstat (limited to 'scripts/toolchain.lua')
-rw-r--r-- | scripts/toolchain.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/toolchain.lua b/scripts/toolchain.lua index 6e1cb030d20..966d55d1dbb 100644 --- a/scripts/toolchain.lua +++ b/scripts/toolchain.lua @@ -53,7 +53,7 @@ newoption { description = "Set Android platform version (default: android-24).", } -local android = {}; +local android = {} function androidToolchainRoot() if android.toolchainRoot == nil then @@ -62,7 +62,7 @@ function androidToolchainRoot() linux = "linux-x86_64", macosx = "darwin-x86_64" } - android.toolchainRoot = os.getenv("ANDROID_NDK_HOME") .. "/toolchains/llvm/prebuilt/" .. hostTags[os.get()] + android.toolchainRoot = (os.getenv("ANDROID_NDK_HOME") or "") .. "/toolchains/llvm/prebuilt/" .. hostTags[os.get()] end return android.toolchainRoot; |