A small suite of scripts and patches for building musl libc cross compilers.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

12 lines
403 B

# ARCH will be auto-detected as the host if not specified
#ARCH=i486
CC_BASE_PREFIX=/opt/cross
MAKEFLAGS=-j8
GCC_BOOTSTRAP_CONFFLAGS=--disable-lto-plugin
GCC_CONFFLAGS=--disable-lto-plugin
MUSL_CC_PREFIX="musl-"
# Disable these three lines when running build-gcc-deps.sh
CC="'"${MUSL_CC_PREFIX}gcc"' -Wl,-Bstatic -static-libgcc"
CXX="'"${MUSL_CC_PREFIX}g++"' -Wl,-Bstatic -static-libgcc"
export CC CXX