summaryrefslogtreecommitdiff
path: root/package/berkeleydb
diff options
context:
space:
mode:
Diffstat (limited to 'package/berkeleydb')
-rw-r--r--package/berkeleydb/berkeleydb.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/berkeleydb/berkeleydb.mk b/package/berkeleydb/berkeleydb.mk
index 0917cb920..0dd91fe34 100644
--- a/package/berkeleydb/berkeleydb.mk
+++ b/package/berkeleydb/berkeleydb.mk
@@ -22,8 +22,7 @@ $(DB_DIR)/.dist: $(DL_DIR)/$(DB_SOURCE)
$(DB_DIR)/.configured: $(DB_DIR)/.dist
(cd $(DB_DIR)/build_unix; rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
- CFLAGS="$(TARGET_CFLAGS)" \
- LDFLAGS="$(TARGET_LDFLAGS)" \
+ $(TARGET_CONFIGURE_ARGS) \
../dist/configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \