diff options
| author | ruki <[email protected]> | 2020-07-31 00:27:39 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-07-31 00:27:39 +0800 |
| commit | ec97f73a2a0f954ab15647036360f307f4e7f3e4 (patch) | |
| tree | a8b969176f8189638b03e6b7761697672e5e7862 /xmake/modules/detect/tools/gcc/has_flags.lua | |
| parent | 20b924fdd9c5a03764c180297303a7cefc771940 (diff) | |
improve ldc2 and gdc
Diffstat (limited to 'xmake/modules/detect/tools/gcc/has_flags.lua')
| -rw-r--r-- | xmake/modules/detect/tools/gcc/has_flags.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/tools/gcc/has_flags.lua b/xmake/modules/detect/tools/gcc/has_flags.lua index 04956998b..43d4ea53e 100644 --- a/xmake/modules/detect/tools/gcc/has_flags.lua +++ b/xmake/modules/detect/tools/gcc/has_flags.lua @@ -33,7 +33,7 @@ function _islinker(flags, opt) -- the tool kind is ld or sh? local toolkind = opt.toolkind or "" - return toolkind == "ld" or toolkind == "sh" or toolkind:endswith("-ld") or toolkind:endswith("-sh") + return toolkind == "ld" or toolkind == "sh" or toolkind:endswith("ld") or toolkind:endswith("sh") end -- try running |
