karlos-toolchain/vars.sh

13 lines
582 B
Bash

# Modify these definitions to fit your host system
# PREFIX: Path on your host system where the toolchain shall be installed
export PREFIX="/usr/local/x86_64-karlos-toolchain"
# SYSROOT: Path to the 'sysroot' folder in your local copy of the karlos repository
#export SYSROOT="/usr/local/share/karlos/sysroot"
export MAKEFLAGS="-j $(getconf _NPROCESSORS_ONLN)"
# Do not modify the following lines
# TARGET: The target triplet
export TARGET="x86_64-karlos"
# Temporarily add PREFIX to PATH so the toolchain can find itself during compilation
export PATH="/final/$PREFIX/bin:$PATH"