ports

morpheus ports
git clone git://git.2f30.org/ports
Log | Files | Refs | LICENSE

commit 855996b338597d041db82ce453e9d200e8bccf5e
parent 1271a08c0aa698513a7c0153f397f5b583845b9d
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Mon, 21 Jul 2014 17:14:34 +0000

hbase: fix cross-compile

compile a separate yacc with $HOSTCC needed for building.

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

Diffstat:
Mhbase/mkfile | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/hbase/mkfile b/hbase/mkfile @@ -3,3 +3,11 @@ src = hbase git = git://git.2f30.org/hbase mkfile = mkfile + +build:V: prepare + +prepare:V: + cd hbase/yacc + $HOSTCC -static y1.c y2.c y3.c y4.c y5.c getopt.c -o yacchost -DPARSER=\"$LIBDIR/yaccpar\" + printf '%s' 'YACC = $yacc_DEPDIR/yacchost -P$yacc_DEPDIR/yaccpar' > depsinc.mk + cd ../../