mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-16 13:48:33 +00:00
config: add CXX, CPP and HOST toolchain var
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
This commit is contained in:
parent
6f5343a311
commit
378386622e
@ -6,11 +6,15 @@ nprocs = 2
|
|||||||
|
|
||||||
TOOLCHAIN_TRIPLET = ${arch}-musl-linux
|
TOOLCHAIN_TRIPLET = ${arch}-musl-linux
|
||||||
CC = ${TOOLCHAIN_TRIPLET}-gcc
|
CC = ${TOOLCHAIN_TRIPLET}-gcc
|
||||||
HOSTCC = $CC -static
|
CXX = ${TOOLCHAIN_TRIPLET}-g++
|
||||||
LD = $CC
|
LD = $CC
|
||||||
AR = ${TOOLCHAIN_TRIPLET}-ar
|
AR = ${TOOLCHAIN_TRIPLET}-ar
|
||||||
RANLIB = ${TOOLCHAIN_TRIPLET}-ranlib
|
RANLIB = ${TOOLCHAIN_TRIPLET}-ranlib
|
||||||
STRIP = ${TOOLCHAIN_TRIPLET}-strip
|
STRIP = ${TOOLCHAIN_TRIPLET}-strip
|
||||||
|
CPP = ${TOOLCHAIN_TRIPLET}-cpp
|
||||||
|
|
||||||
|
HOST_TOOLCHAIN_TRIPLET = ${arch}-musl-linux
|
||||||
|
HOSTCC = $CC -static
|
||||||
# use STRIP = true instead of the above
|
# use STRIP = true instead of the above
|
||||||
# if you do not want stripped binaries
|
# if you do not want stripped binaries
|
||||||
#STRIP = true
|
#STRIP = true
|
||||||
|
Loading…
Reference in New Issue
Block a user