15 lines
498 B
Bash
Executable File
15 lines
498 B
Bash
Executable File
#!/bin/sh
|
|
|
|
export CC="gcc"
|
|
export CFLAGS="$CFLAGS -Wno-error"
|
|
|
|
if [ "$(which pkgconf 2> /dev/null)" ]; then
|
|
export PKG_CONFIG="$(which pkgconf)"
|
|
fi
|
|
|
|
# TODO: remove the need for these lines by making musl-cross-make build a gcc
|
|
# with a header search path of /include only, with all headers contained there.
|
|
export CPATH="${CPATH:-/include}"
|
|
export C_INCLUDE_PATH="/powerpc64le-lix-linux-musl/include"
|
|
export CPLUS_INCLUDE_PATH="/include/c++/9.2.0/powerpc64le-lix-linux-musl:/include/c++/9.2.0"
|