From 1a3ff4f9099cf3d6b65a77cf9bfb7f69a7698a30 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sat, 25 Jun 2011 18:57:17 -0400 Subject: [PATCH] fix dynamic linker issue in musl-gcc wrapper --- tools/gen-musl-gcc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1