Ports: Always export Serenity's GCC and G++ in the build environment

Export the appropriate CC and CXX to all port commands.
This commit is contained in:
Andreas Kling 2019-09-06 20:33:18 +02:00
parent d10ca2b010
commit bc2bd1e64a

View file

@ -3,6 +3,9 @@
# This script contains common helpers for all ports.
set -e
export CC=i686-pc-serenity-gcc
export CXX=i686-pc-serenity-g++
if [ -z "$MAKEOPTS" ]; then
MAKEOPTS="-j $(nproc)"
fi