summaryrefslogtreecommitdiff
path: root/make/berkeleydb.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/berkeleydb.mk')
-rw-r--r--make/berkeleydb.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/make/berkeleydb.mk b/make/berkeleydb.mk
index 9029fc363..3d7533487 100644
--- a/make/berkeleydb.mk
+++ b/make/berkeleydb.mk
@@ -19,9 +19,11 @@ $(DB_DIR)/.dist: $(DL_DIR)/$(DB_SOURCE)
$(DB_DIR)/.configured: $(DB_DIR)/.dist
(cd $(DB_DIR)/build_unix; rm -rf config.cache; \
- PATH=$(TARGET_PATH) CC=$(TARGET_CC) \
+ $(TARGET_CONFIGURE_OPTS) \
../dist/configure \
--target=$(GNU_TARGET_NAME) \
+ --host=$(GNU_TARGET_NAME) \
+ --build=$(GNU_HOST_NAME) \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \