mirror of
git://git.musl-libc.org/musl
synced 2025-03-24 20:12:12 +00:00
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.
This commit is contained in:
parent
d426b04533
commit
5d26d5d15b
@ -11,7 +11,7 @@ cat <<EOF
|
|||||||
%(cc1_cpu) -nostdinc -isystem $incdir
|
%(cc1_cpu) -nostdinc -isystem $incdir
|
||||||
|
|
||||||
*link_libgcc:
|
*link_libgcc:
|
||||||
-L$libdir
|
-L$libdir -L .%s
|
||||||
|
|
||||||
*libgcc:
|
*libgcc:
|
||||||
libgcc.a%s %:if-exists(libgcc_eh.a%s)
|
libgcc.a%s %:if-exists(libgcc_eh.a%s)
|
||||||
|
Loading…
Reference in New Issue
Block a user