commit 34ba57809574aa10a627bc4a7cf48773f3546004
parent a1445a03d756c18c9694dcf98c9108c1eff5eac1
Author: Daniel Bainton <dpb@driftaway.org>
Date: Tue, 1 Apr 2014 11:17:06 +0100
HOSTCC should compile static for binaries to work
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.def.mk b/config.def.mk
@@ -5,8 +5,8 @@ ports = $mkbuild/../ports
nprocs = 2
TOOLCHAIN_TRIPLET = ${arch}-musl-linux
-HOSTCC = ${TOOLCHAIN_TRIPLET}-gcc
CC = ${TOOLCHAIN_TRIPLET}-gcc
+HOSTCC = $CC -static
LD = $CC
AR = ${TOOLCHAIN_TRIPLET}-ar
RANLIB = ${TOOLCHAIN_TRIPLET}-ranlib