make-rules/configure.mk
changeset 62 519e6e3788ce
parent 59 7500d63edb42
child 119 c1d2498bb363
--- a/make-rules/configure.mk	Thu Jan 20 14:23:47 2011 -0800
+++ b/make-rules/configure.mk	Mon Jan 24 13:48:56 2011 -0800
@@ -70,12 +70,18 @@
 CONFIGURE_OPTIONS += --mandir=$(CONFIGURE_MANDIR)
 CONFIGURE_OPTIONS += --bindir=$(CONFIGURE_BINDIR.$(BITS))
 CONFIGURE_OPTIONS += --libdir=$(CONFIGURE_LIBDIR.$(BITS))
+CONFIGURE_OPTIONS += $(CONFIGURE_OPTIONS.$(BITS))
 
 COMPONENT_INSTALL_ARGS +=	DESTDIR=$(PROTO_DIR)
 
 $(BUILD_DIR)/$(MACH32)/.configured:	BITS=32
 $(BUILD_DIR)/$(MACH64)/.configured:	BITS=64
+$(BUILD_DIR)/$(MACH32)/.built:		BITS=32
+$(BUILD_DIR)/$(MACH64)/.built:		BITS=64
+$(BUILD_DIR)/$(MACH32)/.installed:	BITS=32
+$(BUILD_DIR)/$(MACH64)/.installed:	BITS=64
 
+CONFIGURE_ENV += $(CONFIGURE_ENV.$(BITS))
 CONFIGURE_OPTIONS += $(CONFIGURE_OPTIONS.$(BITS))
 
 # set the default target for installation of the component