summaryrefslogtreecommitdiff
path: root/xmake/actions/config/main.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-06-20 12:57:35 +0800
committerruki <[email protected]>2017-06-20 12:57:35 +0800
commit0ef4acaa5f9d78c7fd8941ccbe8d3f237e91268c (patch)
treef6f953421cbff144644ab5e6781ad8b187bf12ff /xmake/actions/config/main.lua
parentbc5021e091a9e7b962243354c88e0fe11dff563f (diff)
improve has_flags for gcc
Diffstat (limited to 'xmake/actions/config/main.lua')
-rw-r--r--xmake/actions/config/main.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/actions/config/main.lua b/xmake/actions/config/main.lua
index 931f0ced6..d90b9bc3f 100644
--- a/xmake/actions/config/main.lua
+++ b/xmake/actions/config/main.lua
@@ -29,7 +29,7 @@ import("core.project.global")
import("core.project.project")
import("core.platform.platform")
import("core.project.cache")
-import("lib.detect.clear_cache")
+import("lib.detect.cache", {alias = "detectcache"})
import("scanner")
import("configheader")
@@ -234,7 +234,7 @@ function main()
cache.set("rebuild", true)
-- clear detect cache
- clear_cache()
+ detectcache.clear()
end
-- merge the cached configure