summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorruki <[email protected]>2025-01-25 00:59:17 +0800
committerruki <[email protected]>2025-01-25 00:59:17 +0800
commit35677f50e4eb8ecb5aabe70e6ce900e28fd0adc2 (patch)
treef88df0f22e606bc8bf4361f13059bd3cb00ab0ed /tests
parentd1b1492b07d370f9cf06414490fc489c1dda6ed8 (diff)
move has_flags.lua
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