summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools
diff options
context:
space:
mode:
authorruki <[email protected]>2022-06-20 23:17:10 +0800
committerruki <[email protected]>2022-06-20 23:17:10 +0800
commitcf2f731372623014772378fa95126e8b04806463 (patch)
tree8800f3edae583701494581bba99013b5599dd31c /xmake/modules/core/tools
parent01eeb3325c51d18f79b61303fb4d17af011b7dd0 (diff)
improve cachekey
Diffstat (limited to 'xmake/modules/core/tools')
-rw-r--r--xmake/modules/core/tools/gcc.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua
index 93674a702..eb1f396dc 100644
--- a/xmake/modules/core/tools/gcc.lua
+++ b/xmake/modules/core/tools/gcc.lua
@@ -528,8 +528,7 @@ function _preprocess(program, argv, opt)
local cppinfo = try {function ()
local outdata, errdata = os.iorunv(program, cppflags, opt)
return {outdata = outdata, errdata = errdata,
- sourcefile = sourcefile, objectfile = objectfile, cppfile = cppfile, cppflags = flags,
- directives_only = directives_only}
+ sourcefile = sourcefile, objectfile = objectfile, cppfile = cppfile, cppflags = flags}
end}
if not cppinfo then
if is_gcc then