musl_root/pkgs/prepare-musl.sh

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}"