diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-06-06 15:48:06 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-06-06 15:48:06 -0400 |
commit | 6e0ad2277ae28ba55c4c73bbfd0898d90ececd33 (patch) | |
tree | c9f83ba7cc109add92fba0857382107683473fcb | |
parent | f7d15dcc543c3b65c751064a5e51a0ec462f3cdb (diff) | |
download | musl-6e0ad2277ae28ba55c4c73bbfd0898d90ececd33.tar.gz |
make gcc wrapper rewrite link options rather than just extending them
this is not tested yet, but should work to get rid of unwanted
--hash-style=gnu hacks present in some distro-patched gcc versions.
-rw-r--r-- | tools/musl-gcc.specs.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/musl-gcc.specs.sh b/tools/musl-gcc.specs.sh index 5604685a..5f6504e2 100644 --- a/tools/musl-gcc.specs.sh +++ b/tools/musl-gcc.specs.sh @@ -22,10 +22,8 @@ libgcc.a%s %:if-exists(libgcc_eh.a%s) *endfile: %{shared|pie:crtendS.o%s;:crtend.o%s} $libdir/crtn.o -%rename link old_link - *link: -%(old_link) -dynamic-linker $ldso -nostdlib +-dynamic-linker $ldso -nostdlib %{shared:-shared} %{static:-static} %{rdynamic:-export-dynamic} *esp_link: |