summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-01-28 06:32:33 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-01-28 06:32:33 +0000
commitd5664ee9956748f8f166dfa720308f05f0f4a97b (patch)
tree909a520a0a66ada07aff0808516560ad8a62913a
parent45616607b43f3bcc46701fb9070d954844ebc6e2 (diff)
elf2flt: fix link
Seems like recent binutils has pulled in inflate support, so we need to link with zlib.
-rw-r--r--toolchain/elf2flt/elf2flt.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/elf2flt/elf2flt.mk b/toolchain/elf2flt/elf2flt.mk
index 90ac9c704..30d7e839a 100644
--- a/toolchain/elf2flt/elf2flt.mk
+++ b/toolchain/elf2flt/elf2flt.mk
@@ -24,6 +24,7 @@ endif
$(ELF2FLT_DIR)/.configured: $(ELF2FLT_DIR)/.patched
(cd $(ELF2FLT_DIR); rm -rf config.cache; \
+ LDFLAGS=-lz \
$(ELF2FLT_DIR)/configure \
--with-bfd-include-dir=$(BINUTILS_DIR1)/bfd/ \
--with-binutils-include-dir=$(BINUTILS_DIR)/include/ \