From: Rich Felker Date: Sat, 25 Jun 2011 22:57:17 +0000 (-0400) Subject: fix dynamic linker issue in musl-gcc wrapper X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=commitdiff_plain;h=1a3ff4f9099cf3d6b65a77cf9bfb7f69a7698a30 fix dynamic linker issue in musl-gcc wrapper --- diff --git a/tools/gen-musl-gcc.sh b/tools/gen-musl-gcc.sh index fcd1e4ea..6a35c71f 100644 --- a/tools/gen-musl-gcc.sh +++ b/tools/gen-musl-gcc.sh @@ -28,5 +28,5 @@ exec "$0" "$@" ' -std=gnu99 -nostdinc -nostdlib \ -isystem "$libc_inc" -isystem "$gcc_inc" \ -Wl,-xxxxxx "$@" -L"$libc_lib" -lc -L"$libgcc" -lgcc -Lxxxxxx \ - -Wl,-dynamic-linker /lib/ld-musl-"$arch".so.1 -Wl,-nostdlib + -Wl,-dynamic-linker,/lib/ld-musl-"$arch".so.1 -Wl,-nostdlib EOF