Browse Source

fix dynamic linker issue in musl-gcc wrapper

rs-1.0
Rich Felker 15 years ago
parent
commit
1a3ff4f909
  1. 2
      tools/gen-musl-gcc.sh

2
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

Loading…
Cancel
Save