1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 14:57:35 +00:00

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

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"