Remove -fno-reorder-blocks for clang

Fixes Homebrew/homebrew#28289.
This commit is contained in:
Jack Nagel 2014-04-11 12:29:15 -05:00
parent f51bda9e0a
commit 2c54aa3262

View File

@ -128,7 +128,7 @@ class Cmd
when '-fopenmp', '-lgomp', '-mno-fused-madd', '-fforce-addr', '-fno-defer-pop',
'-mno-dynamic-no-pic', '-fearly-inlining', '-finline-functions-called-once',
/^-finline-limit/, /^-f(?:no-)?check-new/, '-fno-delete-null-pointer-checks',
'-fcaller-saves', '-fthread-jumps'
'-fcaller-saves', '-fthread-jumps', '-fno-reorder-blocks'
# clang doesn't support these flags
args << arg if not tool =~ /^clang/
when /^-W.*/