summaryrefslogtreecommitdiff
path: root/recipes/logrotate/files/logrotate-3.7.1.patch
blob: e184977ecea5e0adf4711b3f198538a7dde0726f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- logrotate-3.7.1.old/Makefile	2007-02-17 17:41:04.000000000 +1100
+++ logrotate-3.7.1/Makefile	2007-02-17 17:40:38.000000000 +1100
@@ -3,7 +3,7 @@
 CVSTAG = r$(subst .,-,$(VERSION))
 OS_NAME = $(shell uname -s)
 LFS = $(shell echo `getconf LFS_CFLAGS 2>/dev/null`)
-CFLAGS = -Wall -D_GNU_SOURCE -D$(OS_NAME) -DVERSION=\"$(VERSION)\" $(RPM_OPT_FLAGS) $(LFS)
+CFLAGS += -Wall -D_GNU_SOURCE -D$(OS_NAME) -DVERSION=\"$(VERSION)\" $(RPM_OPT_FLAGS) $(LFS)
 PROG = logrotate
 MAN = logrotate.8
 LOADLIBES = -lpopt
@@ -69,7 +69,7 @@
 
 ifeq ($(RPM_OPT_FLAGS),)
 CFLAGS += -g
-LDFLAGS = -g
+LDFLAGS += -g
 endif
 
 ifeq (.depend,$(wildcard .depend))