summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-06-25 18:57:17 -0400
committerRich Felker <dalias@aerifal.cx>2011-06-25 18:57:17 -0400
commit1a3ff4f9099cf3d6b65a77cf9bfb7f69a7698a30 (patch)
treeef58b7cd17f88d29a7e1087e6eeafe10fddab51b /tools
parent6250c0be4b56ca42b8b4db1d2b9d672811378dc0 (diff)
downloadmusl-1a3ff4f9099cf3d6b65a77cf9bfb7f69a7698a30.tar.gz
fix dynamic linker issue in musl-gcc wrapper
Diffstat (limited to 'tools')
-rw-r--r--tools/gen-musl-gcc.sh2
1 files changed, 1 insertions, 1 deletions
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