diff options
| author | ruki <[email protected]> | 2020-11-10 00:40:03 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-11-10 11:33:27 +0800 |
| commit | 6bd92e09bea0e6f1c707ab6bbf062f462b70c01d (patch) | |
| tree | 0a4b18ceaa6cbdb7d896b7937425c438a437939c /xmake/modules/core/tools/gcc.lua | |
| parent | 40b38d7cd88d9a0c3b870f6995c01dbd95c69981 (diff) | |
add nf_includedir
Diffstat (limited to 'xmake/modules/core/tools/gcc.lua')
| -rw-r--r-- | xmake/modules/core/tools/gcc.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/gcc.lua b/xmake/modules/core/tools/gcc.lua index 5418ecf27..5ade06550 100644 --- a/xmake/modules/core/tools/gcc.lua +++ b/xmake/modules/core/tools/gcc.lua @@ -234,6 +234,11 @@ function nf_includedir(self, dir) return "-I" .. os.args(path.translate(dir)) end +-- make the sysincludedir flag +function nf_sysincludedir(self, dir) + return "-isystem " .. os.args(path.translate(dir)) +end + -- make the link flag function nf_link(self, lib) return "-l" .. lib |
