Remove -fcaller-saves and -fthread-jumps for clang

This commit is contained in:
Jack Nagel 2014-03-28 14:49:45 -05:00
parent 2faeafd89d
commit 26f7393ea9

View File

@ -127,7 +127,8 @@ class Cmd
'-pedantic', '-pedantic-errors'
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'
/^-finline-limit/, /^-f(?:no-)?check-new/, '-fno-delete-null-pointer-checks',
'-fcaller-saves', '-fthread-jumps'
# clang doesn't support these flags
args << arg if not tool =~ /^clang/
when /^-W.*/