Skip to content

Commit

Permalink
strip -fmodule-mapper for GCC module reusage flag compatibility detec…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
Arthapz committed Jul 22, 2024
1 parent 45852e6 commit bbe7745
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ function strip_flags(target, flags)
"-w",
"-cxx-isystem",
"-Q",
"-fmodule-mapper",
}
if not target:policy("build.c++.modules.tryreuse.discriminate_on_defines") then
table.join2(strippable_flags, {"-D", "-U"})
Expand Down

0 comments on commit bbe7745

Please sign in to comment.