diff options
| author | ruki <[email protected]> | 2022-06-18 17:30:51 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-06-18 17:30:51 +0800 |
| commit | e3b3ffbc6230e9dee45a38356095705f9705966f (patch) | |
| tree | 812c99d8a200fc25f66fac32af8e26670e6bc179 /xmake/modules/core | |
| parent | 91395ec93c42631a613a64fd1b11ab6610bf3ea4 (diff) | |
improve cachekey
Diffstat (limited to 'xmake/modules/core')
| -rw-r--r-- | xmake/modules/core/tools/gcc.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua index a495f2696..cf8fad4db 100644 --- a/xmake/modules/core/tools/gcc.lua +++ b/xmake/modules/core/tools/gcc.lua @@ -511,7 +511,9 @@ function _preprocess(program, argv, opt) -- do preprocess 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} + return {outdata = outdata, errdata = errdata, + sourcefile = sourcefile, objectfile = objectfile, cppfile = cppfile, cppflags = flags, + directives_only = directives_only} end} if not cppinfo then if is_gcc then |
