make-rules/configure.mk
changeset 6 20f80c019d73
parent 3 7b8e0c0bb2e8
child 12 41aeb1fd8c2d
--- a/make-rules/configure.mk	Wed May 12 00:29:30 2010 -0500
+++ b/make-rules/configure.mk	Wed May 12 00:32:41 2010 -0500
@@ -78,13 +78,14 @@
 # build the configured source
 $(COMPONENT_SRC)/build-%/.built:	$(COMPONENT_SRC)/build-%/.configured
 	$(COMPONENT_PRE_BUILD_ACTION)
-	(cd $(@D) ; $(GMAKE) $(COMPONENT_BUILD_TARGETS))
+	(cd $(@D) ; $(COMPONENT_BUILD_ENV) $(GMAKE) $(COMPONENT_BUILD_TARGETS))
 	$(COMPONENT_POST_BUILD_ACTION)
 	$(TOUCH) [email protected]
 
 # install the built source into a prototype area
 $(COMPONENT_SRC)/build-%/.installed:	$(COMPONENT_SRC)/build-%/.built
 	$(COMPONENT_PRE_INSTALL_ACTION)
-	(cd $(@D) ; $(GMAKE) DESTDIR=$(PROTO_DIR)  $(COMPONENT_INSTALL_TARGETS))
+	(cd $(@D) ; $(COMPONENT_INSTALL_ENV) $(GMAKE) \
+			DESTDIR=$(PROTO_DIR) $(COMPONENT_INSTALL_TARGETS))
 	$(COMPONENT_POST_INSTALL_ACTION)
 	$(TOUCH) [email protected]