File tree-dontstrip.patch of Package tree
Index: Makefile
===================================================================
--- Makefile.orig 2011-06-24 16:25:27.000000000 +0200
+++ Makefile 2011-11-21 12:07:07.000000000 +0100
@@ -31,7 +31,8 @@ OBJS=tree.o unix.o html.o xml.o hash.o c
# Linux defaults:
#CFLAGS=-ggdb -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-CFLAGS=-O4 -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
+OPTFLAGS=-O4
+CFLAGS=$(OPTFLAGS) -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
LDFLAGS=-s
# Uncomment for FreeBSD:
@@ -97,7 +98,7 @@ install: tree
install -d $(BINDIR)
install -d $(MANDIR)
if [ -e $(TREE_DEST) ]; then \
- install -s $(TREE_DEST) $(BINDIR)/$(TREE_DEST); \
+ install $(TREE_DEST) $(BINDIR)/$(TREE_DEST); \
fi
install doc/$(MAN) $(MANDIR)/$(MAN)