Pass CC,CXX and a few other vars along to configure so file can find the c++

preprocessor (which of course it doesn't even use...)
This commit is contained in:
jmc 2005-02-11 15:01:57 +00:00
parent 07aeec53c1
commit e392f6d248
1 changed files with 6 additions and 1 deletions

View File

@ -1,8 +1,13 @@
# $NetBSD: Makefile,v 1.2 2003/07/08 03:41:34 gson Exp $
# $NetBSD: Makefile,v 1.3 2005/02/11 15:01:57 jmc Exp $
#
GNUHOSTDIST= ${.CURDIR}/../../dist/file
CONFIGURE_ENV+= CC=${HOST_CC:Q} \
CFLAGS=${HOST_CFLAGS:Q} \
CPPFLAGS=${HOST_CPPFLAGS:Q} \
CXX=${HOST_CXX:Q}
CONFIGURE_ARGS= --program-prefix=${_TOOL_PREFIX}
.NOTPARALLEL: