shims/linux/super/cc: Do not fix gcc -R for Linux
This commit is contained in:
parent
434e8d8e2f
commit
c507408fd4
@ -188,11 +188,6 @@ class Cmd
|
|||||||
val = chuzzle($1) || enum.next
|
val = chuzzle($1) || enum.next
|
||||||
path = canonical_path(val)
|
path = canonical_path(val)
|
||||||
args << "-L#{val}" if keep?(path) && @lset.add?(path)
|
args << "-L#{val}" if keep?(path) && @lset.add?(path)
|
||||||
when /^-R(.+)?/
|
|
||||||
# -R is not the correct way to pass rpaths to the linker
|
|
||||||
path = chuzzle($1) || enum.next
|
|
||||||
wl = "-Wl," unless mode == :ld
|
|
||||||
args << "#{wl}-rpath=" if keep?(path)
|
|
||||||
else
|
else
|
||||||
args << arg
|
args << arg
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user