summaryrefslogtreecommitdiff
path: root/xmake/modules
diff options
context:
space:
mode:
authorruki <[email protected]>2020-08-22 22:07:05 +0800
committerruki <[email protected]>2020-08-22 22:07:05 +0800
commit55eb2fa3baaa571a616250ee8a89e98b4d82d49c (patch)
tree0aafe931e1ce598327895bc797f5c09149932676 /xmake/modules
parent0d7d4659b1120e98b9a42ad9abbe440cfe026efc (diff)
fix has_features
Diffstat (limited to 'xmake/modules')
-rw-r--r--xmake/modules/detect/tools/gcc/features.lua6
-rw-r--r--xmake/modules/lib/detect/has_features.lua2
2 files changed, 0 insertions, 8 deletions
diff --git a/xmake/modules/detect/tools/gcc/features.lua b/xmake/modules/detect/tools/gcc/features.lua
index ad4cb3214..bbb7e386b 100644
--- a/xmake/modules/detect/tools/gcc/features.lua
+++ b/xmake/modules/detect/tools/gcc/features.lua
@@ -41,11 +41,7 @@ function _get_macro_defines(snippets, extension, opt)
end
end
end
-
- -- remove files
os.tryrm(sourcefile)
-
- -- ok?
return results
end
@@ -111,8 +107,6 @@ function check_features(opt)
end
end
end
-
- -- ok?
return results
end
diff --git a/xmake/modules/lib/detect/has_features.lua b/xmake/modules/lib/detect/has_features.lua
index 12553ea71..e55f2e21f 100644
--- a/xmake/modules/lib/detect/has_features.lua
+++ b/xmake/modules/lib/detect/has_features.lua
@@ -52,7 +52,5 @@ function main(name, features, opt)
table.insert(results, feature)
end
end
-
- -- ok?
return results
end