Index: cdtool-2.1.5/Makefile =================================================================== --- cdtool-2.1.5.orig/Makefile +++ cdtool-2.1.5/Makefile @@ -68,7 +68,7 @@ all:: make noobjs make cdown make cdadd - make cdctrl DEBUG_FLAGS="-O -s -DCDCTRL" + make cdctrl DEBUG_FLAGS="-O -s" CC="$(CC) -DCDCTRL" make noobjs make cdtool DEBUG_FLAGS="-O -s" make links @@ -113,13 +113,13 @@ rpm: $(SRCS) $(OTHERS) rpm -ba $(THISVER)-$(THISREL).spec cdown: cdown.c - $(CC) -o cdown $(DEBUG_FLAGS) cdown.c + $(CC) $(LDFLAGS) -o cdown $(DEBUG_FLAGS) cdown.c cdtool: $(OBJS) - $(CC) -o cdtool $(OBJS) + $(CC) $(LDFLAGS) -o cdtool $(OBJS) cdctrl: $(OBJS1) - $(CC) -o cdctrl $(OBJS1) + $(CC) $(LDFLAGS) -o cdctrl $(OBJS1) cdadd: cdadd.sh sed s,@BINDIR@,$(BINDIR),g < $< > $@