--- aboot-1.0~pre20040408.orig/tools/Makefile
+++ aboot-1.0~pre20040408/tools/Makefile
@@ -1,14 +1,16 @@
+ifndef ($(CC))
 CC	= gcc
-CFLAGS	= -g -O2 -Wall -I. -I../include $(CPPFLAGS)
-LDFLAGS	= -g
-PGMS	= e2writeboot isomarkboot abootconf elfencap objstrip
+endif
+override CFLAGS		+= -g -O2 -Wall -I. -I../include $(CPPFLAGS)
+#override LDFLAGS	+= -g
+override PGMS		+= e2writeboot isomarkboot abootconf elfencap objstrip
 
 EXEC_PREFIX = /usr
 
 all:	$(PGMS)
 
 install:	$(PGMS)
-	install -s -c -o root -g root -m 755 $(PGMS) $(EXEC_PREFIX)/bin
+	install -c -o root -g root -m 755 $(PGMS) $(EXEC_PREFIX)/bin
 
 clean:
 	rm -f *~ *.o *.a core $(PGMS)
