mirror of
https://git.musl-libc.org/git/musl
synced 2025-01-09 00:02:17 +03:00
improve gcc wrapper to support -nostdlib, -nostartfiles
This commit is contained in:
parent
5816592389
commit
4f4d6ae985
@ -29,7 +29,7 @@ for i ; do
|
|||||||
case "$skip$i" in
|
case "$skip$i" in
|
||||||
-I|-L) skip=--- ; continue ;;
|
-I|-L) skip=--- ; continue ;;
|
||||||
-[cSE]|-M*) nolink=1 ;;
|
-[cSE]|-M*) nolink=1 ;;
|
||||||
-shared) nocrt=1 ;;
|
-shared|-nostartfiles|-nostdlib) nocrt=1 ;;
|
||||||
-*) ;;
|
-*) ;;
|
||||||
*) havefile=1 ;;
|
*) havefile=1 ;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user