1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-05 03:27:10 +01:00

Export CROSS_COMPILE environment variable for Musl build script

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
David Oberhollenzer 2018-10-17 00:06:59 +02:00
parent c16ff53c14
commit 0958272eb3

View file

@ -10,8 +10,8 @@ prepare() {
}
build() {
CC="${TARGET}-gcc" $1/configure --prefix=/ --target="$TARGET"
CC="${TARGET}-gcc" make -j $NUMJOBS
CROSS_COMPILE="${TARGET}-" $1/configure --prefix=/ --target="$TARGET"
CROSS_COMPILE="${TARGET}-" make -j $NUMJOBS
}
deploy() {