tconfig.mk: add host and update $LEX - mkports - recipes for building multiple softwares with mk(1)
(HTM) git clone git://z3bra.org/mkports
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit 9fbc68e1458f0bd35b7ce6ec851ab25a925fbfe3
(DIR) parent e9b2239a3db264d027867a63ae484aab17a7fbd1
(HTM) Author: z3bra <contactatz3bradotorg>
Date: Wed, 15 Feb 2017 22:34:56 +0000
config.mk: add host and update $LEX
Diffstat:
M config.mk | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/config.mk b/config.mk
t@@ -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
t@@ -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 \