From 4c53072dbd29618e52b58c8aaf16543b57b4d8cf Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 15 Jun 2022 00:14:09 +0800 Subject: update changelog --- xmake/modules/core/tools/gcc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua index a22e2c357..dbb8dbd75 100644 --- a/xmake/modules/core/tools/gcc.lua +++ b/xmake/modules/core/tools/gcc.lua @@ -404,7 +404,7 @@ function _preprocess(program, argv, opt) -- enable "-fdirectives-only"? local directives_only if is_gcc then - local cachekey = "core.tool." .. tool:name() + local cachekey = "core.tools." .. tool:name() directives_only = memcache.get(cachekey, "directives_only") if directives_only == nil then if os.isfile(os.projectfile()) and project.policy("preprocessor.gcc.directives_only") == false then @@ -511,7 +511,7 @@ function _preprocess(program, argv, opt) end} if not cppinfo then if is_gcc then - local cachekey = "core.tool." .. tool:name() + local cachekey = "core.tools." .. tool:name() memcache.set(cachekey, "directives_only", false) end end -- cgit v1.3.1