Filter out "-mno-dynamic-no-pic"

This commit is contained in:
Jack Nagel 2014-03-16 23:06:43 -05:00
parent 6a13c9e434
commit 6060ffd5ce

View File

@ -120,7 +120,7 @@ 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'
'-fno-defer-pop', '-fno-check-new', '-mno-dynamic-no-pic'
# clang doesn't support these flags
args << arg if not tool =~ /^clang/
when /^-W.*/