From f1fd7577ba7eb2a202833e89c63b8e01dedfca05 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 7 Jun 2012 00:27:34 -0400 Subject: use -nostdlib in linker tests to avoid possible missing crt/lib issues --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index d29d2dcd..f765ca72 100755 --- a/configure +++ b/configure @@ -70,7 +70,7 @@ fi tryldflag () { printf "checking whether linker accepts %s... " "$2" echo "typedef int x;" > "$tmpc" -if "$CC" -shared "$2" -o /dev/null "$tmpc" 2>/dev/null ; then +if "$CC" -nostdlib -shared "$2" -o /dev/null "$tmpc" 2>/dev/null ; then printf "yes\n" eval "$1=\"\${$1} \$2\"" eval "$1=\${$1# }" -- cgit v1.2.1