summaryrefslogtreecommitdiff
path: root/package/libelf
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/libelf
parent0c47ba4dd7ee27bbd6bc5fb805bf344ec2e0d9af (diff)
fixup package LDFLAGS handling
Diffstat (limited to 'package/libelf')
-rw-r--r--package/libelf/libelf.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/libelf/libelf.mk b/package/libelf/libelf.mk
index 7ae02ede0..ca3608dfe 100644
--- a/package/libelf/libelf.mk
+++ b/package/libelf/libelf.mk
@@ -24,6 +24,8 @@ $(LIBELF_DIR)/.source: $(DL_DIR)/$(LIBELF_SOURCE)
$(LIBELF_DIR)/.configured: $(LIBELF_DIR)/.source
(cd $(LIBELF_DIR); \
$(TARGET_CONFIGURE_OPTS) \
+ CFLAGS="$(TARGET_CFLAGS)" \
+ LDFLAGS="$(TARGET_LDFLAGS)" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \