morpheus

suckless linux distro
git clone git://git.2f30.org/morpheus
Log | Files | Refs | Submodules | README | LICENSE

commit 378386622ecfaaa48c862f9b7abb7e8e5eebabd6
parent 6f5343a311778568612ab60db5c6eb392d9c7924
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Mon,  5 May 2014 11:14:27 +0000

config: add CXX, CPP and HOST toolchain var

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>

Diffstat:
Mconfig.def.mk | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/config.def.mk b/config.def.mk @@ -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