remove redundant (unmaintained) check in floatscan
[musl] / tools / gen-musl-gcc.sh
index edc4084..7b80fda 100644 (file)
@@ -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
@@ -52,7 +52,7 @@ set -- -specs=/proc/self/fd/3 "$@" \
   -Wl,-dynamic-linker,"$ldso_pathname" -Wl,-nostdlib
 }
 
-set -- -std=gnu99 -nostdinc -nostdlib $nosp \
+set -- -nostdinc -nostdlib $nosp \
   -isystem "$libc_inc" -isystem "$gcc_inc" "$@" \
   -L"$libc_lib" -L"$libgcc"