diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-06-07 00:27:34 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-06-07 00:27:34 -0400 |
commit | f1fd7577ba7eb2a202833e89c63b8e01dedfca05 (patch) | |
tree | 0d8dd7deb23fce16d74a8eab025b5167f5f484e3 | |
parent | 67a0383d07987cc4adeee3a06b60c666d9f9d62e (diff) | |
download | musl-f1fd7577ba7eb2a202833e89c63b8e01dedfca05.tar.gz musl-f1fd7577ba7eb2a202833e89c63b8e01dedfca05.tar.xz musl-f1fd7577ba7eb2a202833e89c63b8e01dedfca05.zip |
use -nostdlib in linker tests to avoid possible missing crt/lib issues
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
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# }" |