commit | f1fd7577ba7eb2a202833e89c63b8e01dedfca05 | [log] [tgz] |
---|---|---|
author | Rich Felker <dalias@aerifal.cx> | Thu Jun 07 00:27:34 2012 -0400 |
committer | Rich Felker <dalias@aerifal.cx> | Thu Jun 07 00:27:34 2012 -0400 |
tree | 0d8dd7deb23fce16d74a8eab025b5167f5f484e3 | |
parent | 67a0383d07987cc4adeee3a06b60c666d9f9d62e [diff] [blame] |
use -nostdlib in linker tests to avoid possible missing crt/lib issues
diff --git a/configure b/configure index d29d2dc..f765ca7 100755 --- a/configure +++ b/configure
@@ -70,7 +70,7 @@ 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# }"