config: add CXX, CPP and HOST toolchain var

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
This commit is contained in:
Hiltjo Posthuma 2014-05-05 11:14:27 +00:00
parent 6f5343a311
commit 378386622e

View File

@ -6,11 +6,15 @@ nprocs = 2
TOOLCHAIN_TRIPLET = ${arch}-musl-linux
CC = ${TOOLCHAIN_TRIPLET}-gcc
HOSTCC = $CC -static
CXX = ${TOOLCHAIN_TRIPLET}-g++
LD = $CC
AR = ${TOOLCHAIN_TRIPLET}-ar
RANLIB = ${TOOLCHAIN_TRIPLET}-ranlib
STRIP = ${TOOLCHAIN_TRIPLET}-strip
CPP = ${TOOLCHAIN_TRIPLET}-cpp
HOST_TOOLCHAIN_TRIPLET = ${arch}-musl-linux
HOSTCC = $CC -static
# use STRIP = true instead of the above
# if you do not want stripped binaries
#STRIP = true