summaryrefslogtreecommitdiff
path: root/Ports/luajit
diff options
context:
space:
mode:
authorcircl <circl.lastname@gmail.com>2022-05-27 17:40:37 +0200
committerLinus Groh <mail@linusgroh.de>2022-06-02 23:18:06 +0100
commitddfcefe31162b7af4bcf6576a9abaa8d3871a161 (patch)
tree02c411202709e7ab8aad84b3e97c1dc8c0d93a92 /Ports/luajit
parente51547986e7dca7e7a54eeebe6013c23c22eda8d (diff)
downloadserenity-ddfcefe31162b7af4bcf6576a9abaa8d3871a161.zip
Ports/luajit: Use HOST_CC instead of hardcoding gcc
Diffstat (limited to 'Ports/luajit')
-rwxr-xr-xPorts/luajit/package.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ports/luajit/package.sh b/Ports/luajit/package.sh
index 7d4828fb4e..ddee7f81be 100755
--- a/Ports/luajit/package.sh
+++ b/Ports/luajit/package.sh
@@ -12,7 +12,7 @@ elif [ ${SERENITY_ARCH} = "x86_64" ]; then
M_FLAG=-m64
fi
-makeopts=("CROSS=${SERENITY_ARCH}-pc-serenity-" "HOST_CC=gcc ${M_FLAG}")
+makeopts=("CROSS=${SERENITY_ARCH}-pc-serenity-" "HOST_CC=${HOST_CC} ${M_FLAG}")
configure() {
printf "\x1b[31m\x1b[5mATTENTION: \x1b[0m\x1b[31m\x1b[1mIf this fails, install either libc6-dev-i386 or libc6-dev-amd64\x1b[0m\n"