summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-06-17 22:29:22 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-06-17 22:29:22 +0000
commitc2c61e23ed7c7663be6b7750b402c343fb156fbe (patch)
treed1e99939faafc9d03f9cdbe002854589a64f99a5
parent88bf3aaac880d573cc4df7516cb2fc71c74afcd3 (diff)
$(target): Add bletcherous hack to deal with undefined (and unused)
libc symbol.
-rw-r--r--Makeconf1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makeconf b/Makeconf
index d0a29a15..e83611ac 100644
--- a/Makeconf
+++ b/Makeconf
@@ -197,6 +197,7 @@ rpath := -Wl,-rpath-link=.:$(subst $. ,:,$(dir $(wildcard ../lib*/lib*.so)))
$(target): %$(target-suffix):
$(CC) $(rpath) $(CFLAGS) $($@-CFLAGS) $(LDFLAGS) $($@-LDFLAGS) -o $@ \
'-Wl,-(' $(filter %.o,$^) \
+ -defsym ___brk_addr=0 \
$(foreach lib,$(filter-out %.o,$+),${_libsubst}) \
'-Wl,-)'