More flags clang dislikes
This commit is contained in:
parent
58456a5469
commit
8d723ff877
@ -128,6 +128,10 @@ class Cmd
|
|||||||
args << arg if arg =~ /^-W[alp],/ or arg =~ /^-Wno-/
|
args << arg if arg =~ /^-W[alp],/ or arg =~ /^-Wno-/
|
||||||
when '-macosx_version_min', '-dylib_install_name'
|
when '-macosx_version_min', '-dylib_install_name'
|
||||||
args << "-Wl,#{arg},#{whittler.next}"
|
args << "-Wl,#{arg},#{whittler.next}"
|
||||||
|
when '-multiply_definedsuppress'
|
||||||
|
args << "-Wl,-multiply_defined,suppress"
|
||||||
|
when '-undefineddynamic_lookup'
|
||||||
|
args << "-Wl,-undefined,dynamic_lookup"
|
||||||
when /^-isysroot/
|
when /^-isysroot/
|
||||||
# We set the sysroot
|
# We set the sysroot
|
||||||
whittler.next
|
whittler.next
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user