aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2005-03-14 16:00:45 +0000
committerMarius Mauch <genone@gentoo.org>2005-03-14 16:00:45 +0000
commitfbb34b9081f88e24e3a8dfeb1e4077b8bbf34ec9 (patch)
tree9b70fd7f1a1742a624393edcff260ac2b92307e1
parentSeems -nostdlib was the problem with the constructor/destructor - remove it (diff)
downloadsandbox-fbb34b9081f88e24e3a8dfeb1e4077b8bbf34ec9.tar.gz
sandbox-fbb34b9081f88e24e3a8dfeb1e4077b8bbf34ec9.tar.bz2
sandbox-fbb34b9081f88e24e3a8dfeb1e4077b8bbf34ec9.zip
dropping duplicate symbols
Signed-off-by: Marius Mauch <genone@gentoo.org>
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 7673ebd..508edac 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -39,6 +39,7 @@ symbols.h: symbols.in
sym=`readelf -s "$(LIBC_PATH)" 2>/dev/null | \
awk '{ print $$8 }' | \
grep "^$${x}@@" | \
+ sort -u | \
cut -d'@' -f3`; \
echo "#define symname_$${x} \"$${x}\"" >> $@; \
if [ -n "$${sym}" ]; then \