summaryrefslogtreecommitdiff
path: root/Ports
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2022-04-19 00:27:41 +0200
committerAndreas Kling <kling@serenityos.org>2022-04-19 10:51:11 +0200
commit02a6ca43a991d514a105759e3d1f26db5fa822ec (patch)
treebaa98b82c79d03bd2d8d5cdfa4752209a56bbaac /Ports
parentd797031b655d9e51ec5f3ee1d2cf924cefbba64d (diff)
downloadserenity-02a6ca43a991d514a105759e3d1f26db5fa822ec.zip
Ports: Don't force GCC when linking libiconv into a shared library
Diffstat (limited to 'Ports')
-rwxr-xr-xPorts/libiconv/package.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ports/libiconv/package.sh b/Ports/libiconv/package.sh
index 1250a70f21..587677af66 100755
--- a/Ports/libiconv/package.sh
+++ b/Ports/libiconv/package.sh
@@ -8,6 +8,6 @@ auth_type="sha256"
install() {
run make DESTDIR=${SERENITY_INSTALL_ROOT} "${installopts[@]}" install
- run ${SERENITY_ARCH}-pc-serenity-gcc -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libiconv.so -Wl,-soname,libiconv.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libiconv.a -Wl,--no-whole-archive
+ run ${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libiconv.so -Wl,-soname,libiconv.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libiconv.a -Wl,--no-whole-archive
rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/libiconv.la
}