From d769e5209640db457c0a8ebdacbe45b67b975edf Mon Sep 17 00:00:00 2001 From: joerg Date: Sat, 29 Nov 2014 00:51:56 +0000 Subject: Export CWRAPPERS_CONFIG_DIR directly for now to deal with Makefiles calling libtool or cc directly. Leave a note to fix those later. --- mk/cwrappers.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mk') diff --git a/mk/cwrappers.mk b/mk/cwrappers.mk index 7ad57b4df34..ba7b3a963b5 100644 --- a/mk/cwrappers.mk +++ b/mk/cwrappers.mk @@ -1,4 +1,4 @@ -# $NetBSD: cwrappers.mk,v 1.12 2014/11/27 23:44:10 joerg Exp $ +# $NetBSD: cwrappers.mk,v 1.13 2014/11/29 00:51:56 joerg Exp $ # # This Makefile fragment implements integration of pkgtools/cwrappers. @@ -11,6 +11,9 @@ CONFIGURE_ENV+= CWRAPPERS_CONFIG_DIR=${CWRAPPERS_CONFIG_DIR} MAKE_ENV+= CWRAPPERS_CONFIG_DIR=${CWRAPPERS_CONFIG_DIR} ALL_ENV+= CWRAPPERS_CONFIG_DIR=${CWRAPPERS_CONFIG_DIR} +# TODO: Fix direct calls to CC and LIBTOOL to provide correct environment. +.export CWRAPPERS_CONFIG_DIR + CWRAPPERS_CONFIG.as= as CWRAPPERS_CONFIG.cc= cc CWRAPPERS_CONFIG.cxx= c++ -- cgit v1.2.3