clang doesn't support -fuse-linker-plugin
Closes Homebrew/homebrew#30930. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
6f02314cba
commit
8bc5d71315
@ -161,7 +161,8 @@ class Cmd
|
||||
/^-finline-limit/, /^-f(?:no-)?check-new/, '-fno-delete-null-pointer-checks',
|
||||
'-fcaller-saves', '-fthread-jumps', '-fno-reorder-blocks', '-fcse-skip-blocks',
|
||||
'-frerun-cse-after-loop', '-frerun-loop-opt', '-fcse-follow-jumps',
|
||||
'-fno-regmove', '-fno-for-scope', '-fno-tree-pre', '-fno-tree-dominator-opts'
|
||||
'-fno-regmove', '-fno-for-scope', '-fno-tree-pre', '-fno-tree-dominator-opts',
|
||||
'-fuse-linker-plugin'
|
||||
# clang doesn't support these flags
|
||||
args << arg if not tool =~ /^clang/
|
||||
when /^-W[alp],/, /^-Wno-/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user