diff options
| author | Arthur LAURENT <[email protected]> | 2023-01-23 12:30:50 +0100 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2023-01-23 12:30:50 +0100 |
| commit | 59ad2808f83e7e4da2d52991bf47abe537bec642 (patch) | |
| tree | 86533599566f43141e1c230c7fd66b5437b8a558 /xmake/rules/c++/modules/modules_support/clang.lua | |
| parent | bfc401680246307bb59874c53fb4c6bb2369255b (diff) | |
clang missing flag
Diffstat (limited to 'xmake/rules/c++/modules/modules_support/clang.lua')
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/clang.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/rules/c++/modules/modules_support/clang.lua b/xmake/rules/c++/modules/modules_support/clang.lua index b341df0d4..c88a844a8 100644 --- a/xmake/rules/c++/modules/modules_support/clang.lua +++ b/xmake/rules/c++/modules/modules_support/clang.lua @@ -277,7 +277,8 @@ function generate_dependencies(target, sourcebatch, opt) for _, flag in ipairs(compflags) do if flag == "-m64" or flag == "-g" or flag:startswith("-stdlib") or flag:startswith("-m") or (flag:startswith("-f") and not flag:startswith("-fmodule") and not flag:startswith("-fno-implicit-module-maps")) or - flag:startswith("-D") or flag:startswith("-U") or flag:startswith("-I") or flag:startswith("-isystem") or next_flag then + flag:startswith("-D") or flag:startswith("-U") or flag:startswith("-I") or flag:startswith("-isystem") or next_flag or + flag:startswith("-iframework") then table.insert(flags, flag) next_flag = false if flag:startswith("-isystem") then |
