Merge pull request #10197

7ef82eb guix: link libgcc_s statically for Linux targets (tobtoht)
This commit is contained in:
tobtoht 2025-11-26 19:30:49 +00:00
commit c66cf10629
No known key found for this signature in database
GPG Key ID: E45B10DD027D2472

View File

@ -296,7 +296,7 @@ esac
# LDFLAGS
case "$HOST" in
*linux-gnu*) HOST_LDFLAGS="-Wl,--as-needed -Wl,--dynamic-linker=$glibc_dynamic_linker -static-libstdc++" ;;
*linux-gnu*) HOST_LDFLAGS="-Wl,--as-needed -Wl,--dynamic-linker=$glibc_dynamic_linker -static-libstdc++ -static-libgcc" ;;
*mingw*) HOST_LDFLAGS="-Wl,--no-insert-timestamp" ;;
esac