Ports/luajit: Use HOST_CC instead of hardcoding gcc

This commit is contained in:
circl 2022-05-27 17:40:37 +02:00 committed by Linus Groh
parent e51547986e
commit ddfcefe311
Notes: sideshowbarker 2024-07-17 10:29:39 +09:00

View File

@ -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"