musl_root/pkgs/prepare-musl.sh

6 lines
207 B
Bash
Raw Normal View History

2018-11-10 00:42:27 +02:00
export MAKEFLAGS="-j$(grep -c ^processor /proc/cpuinfo)"
2018-11-10 02:25:39 +02:00
export CC="musl-gcc"
export CPPFLAGS="-I\"${TARGET}/usr/include\""
2018-11-10 00:42:27 +02:00
export LDFLAGS="-L\"${TARGET}/usr/lib\""
2018-11-10 02:25:39 +02:00
export PKG_CONFIG_SYSROOT_DIR="${TARGET}"