fix dynamic linker issue in musl-gcc wrapper

This commit is contained in:
Rich Felker 2011-06-25 18:57:17 -04:00
parent 6250c0be4b
commit 1a3ff4f909
1 changed files with 1 additions and 1 deletions

View 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