clang doesn't support -fuse-linker-plugin

Closes Homebrew/homebrew#30930.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Dan 2014-07-18 17:03:55 +02:00 committed by Jack Nagel
parent 6f02314cba
commit 8bc5d71315

View File

@ -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-/