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 /configure | |
parent | 67a0383d07987cc4adeee3a06b60c666d9f9d62e (diff) | |
download | musl-f1fd7577ba7eb2a202833e89c63b8e01dedfca05.tar.gz musl-f1fd7577ba7eb2a202833e89c63b8e01dedfca05.tar.bz2 musl-f1fd7577ba7eb2a202833e89c63b8e01dedfca05.tar.xz musl-f1fd7577ba7eb2a202833e89c63b8e01dedfca05.zip |
use -nostdlib in linker tests to avoid possible missing crt/lib issues
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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# }" |