summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/apis/custom_toolchain/3bin0 -> 4606 bytes
-rw-r--r--tests/apis/custom_toolchain/toolchains/modules/core/tools/cl6x/has_flags.lua (renamed from tests/apis/custom_toolchain/toolchains/modules/detect/tools/cl6x/has_flags.lua)2
2 files changed, 1 insertions, 1 deletions
diff --git a/tests/apis/custom_toolchain/3 b/tests/apis/custom_toolchain/3
new file mode 100644
index 000000000..51405a6f1
--- /dev/null
+++ b/tests/apis/custom_toolchain/3
Binary files differ
diff --git a/tests/apis/custom_toolchain/toolchains/modules/detect/tools/cl6x/has_flags.lua b/tests/apis/custom_toolchain/toolchains/modules/core/tools/cl6x/has_flags.lua
index d18d9b233..a5f3f4b87 100644
--- a/tests/apis/custom_toolchain/toolchains/modules/detect/tools/cl6x/has_flags.lua
+++ b/tests/apis/custom_toolchain/toolchains/modules/core/tools/cl6x/has_flags.lua
@@ -48,7 +48,7 @@ end
-- attempt to check it from the argument list
function _check_from_arglist(flags, opt, islinker)
- local key = "detect.tools.cl6x." .. (islinker and "has_ldflags" or "has_cflags")
+ local key = "core.tools.cl6x." .. (islinker and "has_ldflags" or "has_cflags")
local flagskey = opt.program .. "_" .. (opt.programver or "")
local allflags = detectcache:get2(key, flagskey)
if not allflags then