diff options
Diffstat (limited to 'config.sh')
-rw-r--r-- | config.sh | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/config.sh b/config.sh new file mode 100644 index 0000000..25165f1 --- /dev/null +++ b/config.sh @@ -0,0 +1,29 @@ +# Change your host GCC here. +export HOST_MACHINE=x86_64-linux-gnu + +# You can change the host toolchain used here. +export HOST_CC=gcc +export HOST_CXX=g++ +export HOST_AR=ar +export HOST_AS=as +export HOST_RANLIB=ranlib + +# Change how many CPUs you want to use. +if [ -z "$PROCS" ]; then + export PROCS=$(nproc) +fi + +# Set this to your ccache path if using ccache. +export CCACHE_DIRECTORY="/usr/lib/ccache" + +# The kind of hurd system to build. The options are: +# minimal: enough to run a shell. +# full: everything. +if [ -z "$BUILD_TYPE" ]; then + export BUILD_TYPE=minimal +fi + +# GNU Hurd target. +if [ -z "$CPU" ]; then + export CPU=i686 +fi |