summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/cwrappers.mk5
1 files changed, 4 insertions, 1 deletions
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++