diff options
author | Pasha <pasha@member.fsf.org> | 2024-02-29 19:30:30 +0000 |
---|---|---|
committer | Pasha <pasha@member.fsf.org> | 2024-02-29 19:30:30 +0000 |
commit | 84d199451cf33734003c00c043a1480920f5563b (patch) | |
tree | 4655f03b3637184bfb363b4e86d376756e85c9e3 /config.sh | |
download | cross-hurd-84d199451cf33734003c00c043a1480920f5563b.tar.gz cross-hurd-84d199451cf33734003c00c043a1480920f5563b.tar.bz2 |
initial commit
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 |