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 fcd1e4e..6a35c71 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