Skip to content
Snippets Groups Projects
Commit 8bc5d713 authored by Dan's avatar Dan Committed by Jack Nagel
Browse files

clang doesn't support -fuse-linker-plugin


Closes Homebrew/homebrew#30930.

Signed-off-by: default avatarJack Nagel <jacknagel@gmail.com>
parent 6f02314c
No related branches found
No related tags found
No related merge requests found
......@@ -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-/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment