From: Rich Felker Date: Fri, 3 Feb 2012 04:54:46 +0000 (-0500) Subject: improve gcc wrapper to support -nostdlib, -nostartfiles X-Git-Tag: v0.8.5~33 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4f4d6ae985cd6562beafdecd1f90e00a34520b45;p=oweals%2Fmusl.git improve gcc wrapper to support -nostdlib, -nostartfiles --- 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