aboutsummaryrefslogtreecommitdiff
path: root/config.sh
blob: 25165f1a5710aa46b9db486176a3a1f84d584aed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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