diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-02-02 23:54:46 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-02-02 23:54:46 -0500 |
commit | 4f4d6ae985cd6562beafdecd1f90e00a34520b45 (patch) | |
tree | 505e33677d0c612b98b0850a526255af080f205e /tools | |
parent | 58165923890865a6ac042fafce13f440ee986fd9 (diff) | |
download | musl-4f4d6ae985cd6562beafdecd1f90e00a34520b45.tar.gz 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.sh | 2 |
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 |