More flags that clang used to ignore

This commit is contained in:
Jack Nagel 2014-03-19 21:38:17 -05:00
parent dc8218fdb5
commit 87b9d7ff6a

View File

@ -120,7 +120,8 @@ class Cmd
/^-O[0-9zs]?$/, '-fast', '-no-cpp-precomp',
'-pedantic', '-pedantic-errors'
when '-fopenmp', '-lgomp', '-mno-fused-madd', '-fforce-addr',
'-fno-defer-pop', '-fno-check-new', '-mno-dynamic-no-pic'
'-fno-defer-pop', '-fno-check-new', '-mno-dynamic-no-pic',
'-fearly-inlining', '-finline-functions-called-once', /^-finline-limit/
# clang doesn't support these flags
args << arg if not tool =~ /^clang/
when /^-W.*/