3 # Patch managed by http://www.holgerschurig.de/patcher.html
6 --- udev-062/Makefile~flags.patch
10 SYSFS = $(PWD)/libsysfs/sysfs.a
12 -CFLAGS += -I$(PWD)/libsysfs/sysfs \
13 +override CFLAGS += -I$(PWD)/libsysfs/sysfs \
16 ifeq ($(strip $(USE_LOG)),true)
18 + override CFLAGS += -DUSE_LOG
21 # if DEBUG is enabled, then we do not strip or optimize
22 ifeq ($(strip $(DEBUG)),true)
23 - CFLAGS += -O1 -g -DDEBUG
25 + override CFLAGS += -DDEBUG
27 STRIPCMD = /bin/true -Since_we_are_debugging
30 KLCC = $(KLIBC_INSTALL)/bin/$(CROSS)klcc
33 + override LDFLAGS += -static
35 - CFLAGS += -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
36 + override CFLAGS += -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
39 ifeq ($(strip $(USE_SELINUX)),true)
40 UDEV_OBJS += udev_selinux.o
42 - CFLAGS += -DUSE_SELINUX
43 + override CFLAGS += -DUSE_SELINUX
46 ifeq ($(strip $(USE_STATIC)),true)
47 - CFLAGS += -DUSE_STATIC
49 + override CFLAGS += -DUSE_STATIC
50 + override LDFLAGS += -static
53 ifeq ($(strip $(V)),false)