summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-02-02 23:54:46 -0500
committerRich Felker <dalias@aerifal.cx>2012-02-02 23:54:46 -0500
commit4f4d6ae985cd6562beafdecd1f90e00a34520b45 (patch)
tree505e33677d0c612b98b0850a526255af080f205e /tools
parent58165923890865a6ac042fafce13f440ee986fd9 (diff)
downloadmusl-4f4d6ae985cd6562beafdecd1f90e00a34520b45.tar.gz
musl-4f4d6ae985cd6562beafdecd1f90e00a34520b45.tar.bz2
musl-4f4d6ae985cd6562beafdecd1f90e00a34520b45.tar.xz
musl-4f4d6ae985cd6562beafdecd1f90e00a34520b45.zip
improve gcc wrapper to support -nostdlib, -nostartfiles
Diffstat (limited to 'tools')
-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