summaryrefslogtreecommitdiff
path: root/xmake/modules/detect
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/detect
parent0d7d4659b1120e98b9a42ad9abbe440cfe026efc (diff)
fix has_features
Diffstat (limited to 'xmake/modules/detect')
-rw-r--r--xmake/modules/detect/tools/gcc/features.lua6
1 files changed, 0 insertions, 6 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