musl_root/pkgs/prepare-compiler-env.sh
2018-11-10 02:59:39 +02:00

6 lines
207 B
Bash

export MAKEFLAGS="-j$(grep -c ^processor /proc/cpuinfo)"
export CC="musl-gcc"
export CPPFLAGS="-I\"${TARGET}/usr/include\""
export LDFLAGS="-L\"${TARGET}/usr/lib\""
export PKG_CONFIG_SYSROOT_DIR="${TARGET}"