14 lines
563 B
Bash
Executable File
14 lines
563 B
Bash
Executable File
#!/bin/sh
|
|
|
|
export CC="gcc"
|
|
#export LDFLAGS="${LDFLAGS:---static -static}"
|
|
#export CFLAGS="${CFLAGS:---static -static}"
|
|
#export CPPFLAGS="${CPPFLAGS:---static -static}"
|
|
#export CXXFLAGS="${CXXFLAGS:---static -static}"
|
|
|
|
# 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"
|