summaryrefslogtreecommitdiffstats
path: root/package/newt
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2007-03-13 22:59:59 +0000
committerEric Andersen <andersen@codepoet.org>2007-03-13 22:59:59 +0000
commit85d7f6f05f87b52a56b603c95e68498f04877f64 (patch)
tree5a3ca2b8e415e92f331976457635fa28ac037ba3 /package/newt
parent0c47ba4dd7ee27bbd6bc5fb805bf344ec2e0d9af (diff)
downloadbuildroot-novena-85d7f6f05f87b52a56b603c95e68498f04877f64.tar.gz
buildroot-novena-85d7f6f05f87b52a56b603c95e68498f04877f64.zip
fixup package LDFLAGS handling
Diffstat (limited to 'package/newt')
-rw-r--r--package/newt/newt.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/newt/newt.mk b/package/newt/newt.mk
index f48956959..1a154aeb9 100644
--- a/package/newt/newt.mk
+++ b/package/newt/newt.mk
@@ -25,6 +25,8 @@ $(NEWT_DIR)/.source: $(DL_DIR)/$(NEWT_SOURCE)
$(NEWT_DIR)/.configured: $(NEWT_DIR)/.source
(cd $(NEWT_DIR); rm -rf config.cache; \
$(TARGET_CONFIGURE_OPTS) \
+ CFLAGS="$(TARGET_CFLAGS) $(NEWT_CFLAGS)" \
+ LDFLAGS="$(TARGET_LDFLAGS)" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
@@ -45,7 +47,7 @@ $(NEWT_DIR)/.configured: $(NEWT_DIR)/.source
touch $(NEWT_DIR)/.configured;
$(NEWT_DIR)/libnewt.so.$(NEWT_VERSION): $(NEWT_DIR)/.configured
- $(MAKE) CFLAGS="$(NEWT_CFLAGS)" CC=$(TARGET_CC) -C $(NEWT_DIR)
+ $(MAKE) CFLAGS="$(TARGET_CFLAGS) $(NEWT_CFLAGS)" CC=$(TARGET_CC) -C $(NEWT_DIR)
touch -c $(NEWT_DIR)/libnewt.so.$(NEWT_VERSION)
$(STAGING_DIR)/lib/libnewt.a: $(NEWT_DIR)/libnewt.so.$(NEWT_VERSION)