about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tools/gen-musl-gcc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gen-musl-gcc.sh b/tools/gen-musl-gcc.sh
index edc40846..b727a8ed 100644
--- a/tools/gen-musl-gcc.sh
+++ b/tools/gen-musl-gcc.sh
@@ -29,7 +29,7 @@ for i ; do
 case "$skip$i" in
 -I|-L) skip=--- ; continue ;;
 -[cSE]|-M*) nolink=1 ;;
--shared) nocrt=1 ;;
+-shared|-nostartfiles|-nostdlib) nocrt=1 ;;
 -*) ;;
 *) havefile=1 ;;
 esac