fix dynamic linker issue in musl-gcc wrapper
authorRich Felker <dalias@aerifal.cx>
Sat, 25 Jun 2011 22:57:17 +0000 (18:57 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 25 Jun 2011 22:57:17 +0000 (18:57 -0400)
tools/gen-musl-gcc.sh

index fcd1e4eac8385a88a4f249c361eb57bf45444a8a..6a35c71ff6a90dcdfe697b4f3b3838f812d481f7 100644 (file)
@@ -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