summaryrefslogtreecommitdiff
path: root/Ports/luajit/package.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Ports/luajit/package.sh')
-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"