2 Makefile | 16 ++++++++--------
3 1 file changed, 8 insertions(+), 8 deletions(-)
5 Index: udev-115/Makefile
6 ===================================================================
7 --- udev-115.orig/Makefile 2007-08-24 01:29:54.000000000 +0200
8 +++ udev-115/Makefile 2007-09-20 17:21:45.000000000 +0200
10 AR = $(CROSS_COMPILE)ar
11 RANLIB = $(CROSS_COMPILE)ranlib
13 -CFLAGS += -g -Wall -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
14 +override CFLAGS = -g -Wall -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
15 WARNINGS = -Wstrict-prototypes -Wsign-compare -Wshadow \
16 -Wchar-subscripts -Wmissing-declarations -Wnested-externs \
17 -Wpointer-arith -Wcast-align -Wsign-compare -Wmissing-prototypes
18 -CFLAGS += $(WARNINGS)
19 +override CFLAGS += $(WARNINGS)
21 LDFLAGS += -Wl,-warn-common,--as-needed
24 -CFLAGS += $(OPTFLAGS)
25 +override CFLAGS += $(OPTFLAGS)
27 ifeq ($(strip $(USE_LOG)),true)
29 + override CFLAGS += -DUSE_LOG
32 # if DEBUG is enabled, then we do not strip
33 ifeq ($(strip $(DEBUG)),true)
35 + override CFLAGS += -DDEBUG
38 ifeq ($(strip $(USE_GCOV)),true)
39 - CFLAGS += -fprofile-arcs -ftest-coverage
40 + override CFLAGS += -fprofile-arcs -ftest-coverage
41 LDFLAGS += -fprofile-arcs
44 ifeq ($(strip $(USE_SELINUX)),true)
45 UDEV_OBJS += udev_selinux.o
46 LIB_OBJS += -lselinux -lsepol
47 - CFLAGS += -DUSE_SELINUX
48 + override CFLAGS += -DUSE_SELINUX
51 ifeq ($(strip $(USE_STATIC)),true)
52 - CFLAGS += -DUSE_STATIC
53 + override CFLAGS += -DUSE_STATIC