From 4f4d6ae985cd6562beafdecd1f90e00a34520b45 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 2 Feb 2012 23:54:46 -0500 Subject: [PATCH] improve gcc wrapper to support -nostdlib, -nostartfiles --- tools/gen-musl-gcc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1