diff options
| author | ruki <[email protected]> | 2025-09-06 22:12:27 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-09-06 22:12:27 +0800 |
| commit | aa523879502d51a0f6d131c34825ed478cc59442 (patch) | |
| tree | 14d0989b3351685ec6dbc1930d2b937a67074747 /xmake/modules/core/tools/gcc.lua | |
| parent | 8d003d54d21714a893990e640ab6d9e711a092a5 (diff) | |
add #embed and embedirs support #6762
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 7062e335f..0589ea4d5 100644 --- a/xmake/modules/core/tools/gcc.lua +++ b/xmake/modules/core/tools/gcc.lua @@ -661,6 +661,11 @@ function nf_includedir(self, dir) return {"-I" .. path.translate(dir)} end +-- make the embeddir flag +function nf_embeddir(self, dir) + return {"--embed-dir=" .. path.translate(dir)} +end + -- make the sysincludedir flag function nf_sysincludedir(self, dir) return {"-isystem", path.translate(dir)} |
