3 # Patch managed by http://www.holgerschurig.de/patcher.html
6 --- udev-058/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/klcc
34 + override LDFLAGS += -static
36 - CFLAGS += -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
37 + override CFLAGS += -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
40 ifeq ($(strip $(USE_SELINUX)),true)