mkports

recipes for building multiple softwares with mk(1)
git clone git://z3bra.org/mkports
Log | Files | Refs

commit 9fbc68e1458f0bd35b7ce6ec851ab25a925fbfe3
parent e9b2239a3db264d027867a63ae484aab17a7fbd1
Author: z3bra <contactatz3bradotorg>
Date:   Wed Feb 15 22:34:56 +0000

config.mk: add host and update $LEX

Diffstat:
config.mk | 2++
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/config.mk b/config.mk @@ -15,6 +15,7 @@ RANLIB = ${TOOLCHAIN}ranlib STRIP = ${TOOLCHAIN}strip GREP = /bin/grep SED = /bin/sed +LEX = /bin/lex -Fo lex.yy.c YACC = /bin/yacc CHOST = $TRIPLET @@ -26,6 +27,7 @@ CFLAGS = ${CPPFLAGS} LDFLAGS = -L${ROOT}/lib -static MAKEFLAGS = -j${NPROC} PREFIX= prefix= MANDIR=/man mandir=/man MANPREFIX=/man CONFIGURE = --prefix= \ + --host=$TRIPLET \ --build=$TRIPLET \ --target=$TRIPLET \ --mandir=/man \