summaryrefslogtreecommitdiff
path: root/make/berkeleydb.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-01-19 06:07:22 +0000
committerEric Andersen <andersen@codepoet.org>2003-01-19 06:07:22 +0000
commita9bfe856cf5b524f157cda222c8b2d07f1463be9 (patch)
tree28e6fb6223262a52d352b9a318897b5e33f26360 /make/berkeleydb.mk
parentb885ae776f81c216927d5ef866ddf09b6778a49b (diff)
Change from using "TARGET_CC1" to just plan "TARGET_CC"
which is a bit more sensible.
Diffstat (limited to 'make/berkeleydb.mk')
-rw-r--r--make/berkeleydb.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/make/berkeleydb.mk b/make/berkeleydb.mk
index 7c5d08334..a907cec6e 100644
--- a/make/berkeleydb.mk
+++ b/make/berkeleydb.mk
@@ -19,7 +19,7 @@ $(DB_DIR)/.dist: $(DL_DIR)/$(DB_SOURCE)
$(DB_DIR)/.configured: $(DB_DIR)/.dist
(cd $(DB_DIR)/build_unix; rm -rf config.cache; \
- PATH=$(STAGING_DIR)/bin:$$PATH CC=$(TARGET_CC1) \
+ PATH=$(STAGING_DIR)/bin:$$PATH CC=$(TARGET_CC) \
../dist/configure \
--target=$(GNU_TARGET_NAME) \
--prefix=/usr \
@@ -37,11 +37,11 @@ $(DB_DIR)/.configured: $(DB_DIR)/.dist
touch $(DB_DIR)/.configured
$(DB_DIR)/build_unix/.libs/libdb-4.0.so: $(DB_DIR)/.configured
- $(MAKE) CC=$(TARGET_CC1) -C $(DB_DIR)/build_unix
+ $(MAKE) CC=$(TARGET_CC) -C $(DB_DIR)/build_unix
$(STAGING_DIR)/lib/libdb-4.0.so: $(DB_DIR)/build_unix/.libs/libdb-4.0.so
-mkdir -p $(STAGING_DIR)/man/man1
- $(MAKE) DESTDIR=$(STAGING_DIR) CC=$(TARGET_CC1) -C $(DB_DIR)/build_unix install
+ $(MAKE) DESTDIR=$(STAGING_DIR) CC=$(TARGET_CC) -C $(DB_DIR)/build_unix install
rm -rf $(STAGING_DIR)/man/man1
$(TARGET_DIR)/lib/libdb-4.0.so: $(STAGING_DIR)/lib/libdb-4.0.so