diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-07-23 23:29:03 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-07-23 23:29:03 -0400 |
commit | 5d26d5d15bf6c2fc8c0e58b76fb418b51e207af7 (patch) | |
tree | 9fa82802fd5f8b4dacb4859389027e4788cd860c | |
parent | d426b045332718ae6d42237303d657fd97c51455 (diff) | |
download | musl-5d26d5d15bf6c2fc8c0e58b76fb418b51e207af7.tar.gz musl-5d26d5d15bf6c2fc8c0e58b76fb418b51e207af7.tar.xz musl-5d26d5d15bf6c2fc8c0e58b76fb418b51e207af7.zip |
gcc wrapper improvement: leave libgcc dir in the library path
this is needed in case -lgcc is passed explicitly on the link command line, for example if the wrapper is being used to build musl itself.
-rw-r--r-- | tools/musl-gcc.specs.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/musl-gcc.specs.sh b/tools/musl-gcc.specs.sh index 5f6504e2..3e88c5d1 100644 --- a/tools/musl-gcc.specs.sh +++ b/tools/musl-gcc.specs.sh @@ -11,7 +11,7 @@ cat <<EOF %(cc1_cpu) -nostdinc -isystem $incdir *link_libgcc: --L$libdir +-L$libdir -L .%s *libgcc: libgcc.a%s %:if-exists(libgcc_eh.a%s) |