1 --- udev-081/Makefile.orig 2006-01-29 12:36:33.000000000 +0100
2 +++ udev-081/Makefile 2006-01-29 12:36:58.000000000 +0100
7 -CFLAGS = -g -Wall -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
8 +override CFLAGS = -g -Wall -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
9 WARNINGS = -Wstrict-prototypes -Wsign-compare -Wshadow \
10 -Wchar-subscripts -Wmissing-declarations -Wnested-externs \
11 -Wpointer-arith -Wcast-align -Wsign-compare -Wmissing-prototypes
12 -CFLAGS += $(WARNINGS)
13 +override CFLAGS += $(WARNINGS)
15 LDFLAGS = -Wl,-warn-common
18 -CFLAGS += $(OPTFLAGS)
19 +override CFLAGS += $(OPTFLAGS)
21 ifeq ($(strip $(USE_LOG)),true)
23 + override CFLAGS += -DUSE_LOG
26 # if DEBUG is enabled, then we do not strip
27 ifeq ($(strip $(DEBUG)),true)
29 + override CFLAGS += -DDEBUG
33 ifeq ($(strip $(USE_GCOV)),true)
34 - CFLAGS += -fprofile-arcs -ftest-coverage
35 + override CFLAGS += -fprofile-arcs -ftest-coverage
36 LDFLAGS += -fprofile-arcs
40 ifeq ($(strip $(USE_SELINUX)),true)
41 UDEV_OBJS += udev_selinux.o
42 LIB_OBJS += -lselinux -lsepol
43 - CFLAGS += -DUSE_SELINUX
44 + override CFLAGS += -DUSE_SELINUX
47 ifeq ($(strip $(USE_STATIC)),true)
48 - CFLAGS += -DUSE_STATIC
49 + override CFLAGS += -DUSE_STATIC