1
0

patch-Makefile 701 B

123456789101112131415161718192021
  1. $Id$
  2. --- logrotate-3.7.1.orig/Makefile Thu Oct 9 22:05:07 2003
  3. +++ logrotate-3.7.1/Makefile Sat Jan 20 19:25:23 2007
  4. @@ -3,7 +3,7 @@ CVSROOT = $(shell cat CVS/Root)
  5. CVSTAG = r$(subst .,-,$(VERSION))
  6. OS_NAME = $(shell uname -s)
  7. LFS = $(shell echo `getconf LFS_CFLAGS 2>/dev/null`)
  8. -CFLAGS = -Wall -D_GNU_SOURCE -D$(OS_NAME) -DVERSION=\"$(VERSION)\" $(RPM_OPT_FLAGS) $(LFS)
  9. +CFLAGS ?= -Wall -D_GNU_SOURCE -D$(OS_NAME) -DVERSION=\"$(VERSION)\" $(RPM_OPT_FLAGS) $(LFS)
  10. PROG = logrotate
  11. MAN = logrotate.8
  12. LOADLIBES = -lpopt
  13. @@ -69,7 +69,7 @@ SOURCES = $(subst .o,.c,$(OBJS) $(LIBOBJ
  14. ifeq ($(RPM_OPT_FLAGS),)
  15. CFLAGS += -g
  16. -LDFLAGS = -g
  17. +LDFLAGS ?= -g
  18. endif
  19. ifeq (.depend,$(wildcard .depend))