mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:17:35 +00:00
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:
parent
d10ca2b010
commit
bc2bd1e64a
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,9 @@
|
||||||
# This script contains common helpers for all ports.
|
# This script contains common helpers for all ports.
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
export CC=i686-pc-serenity-gcc
|
||||||
|
export CXX=i686-pc-serenity-g++
|
||||||
|
|
||||||
if [ -z "$MAKEOPTS" ]; then
|
if [ -z "$MAKEOPTS" ]; then
|
||||||
MAKEOPTS="-j $(nproc)"
|
MAKEOPTS="-j $(nproc)"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue