Skip to content

Commit

Permalink
Blacklist additional code generation flags
Browse files Browse the repository at this point in the history
Add code generation flags which does not influence the parsing of the
source code to the blacklist. The added flags are used by the Linux
build system when building for armv7l. While at it, make the almost
alphabetical list of flags alphabetical.
  • Loading branch information
frej committed Sep 1, 2024
1 parent f472b5d commit 08d83ac
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Source.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -222,30 +222,34 @@ static const char *blacklist[] = {
"-fbuild-session-file=",
"-fbuild-session-timestamp=",
"-fcomplete-member-pointers",
"-fconserve-stack",
"-fembed-bitcode",
"-fembed-bitcode-marker",
"-ffile-compilation-dir",
"-ffp-contract=",
"-fmodules-validate-once-per-build-session",
"-fno-allow-store-data-races",
"-fno-delete-null-pointer-checks",
"-fno-enforce-eh-specs",
"-fno-ipa-sra",
"-fno-return-std-move-in-c++11",
"-fno-use-linker-plugin",
"-fno-var-tracking",
"-fno-var-tracking-assignments",
"-ftrivial-auto-var-init=",
"-fvar-tracking",
"-fvar-tracking-assignments",
"-fvar-tracking-assignments-toggle",
"-no-canonical-prefixes",
"-ftrivial-auto-var-init=",
"-gcc-toolchain",
"-m64",
"-march=",
"-masm=",
"-mcpu=",
"-mfpmath=",
"-mno-fdpic",
"-msse3",
"-mtune=",
"-no-canonical-prefixes",
"-s",
"-split-threshold-for-reg-with-hint=",
};
Expand Down

0 comments on commit 08d83ac

Please sign in to comment.