]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/udev/udev-058/flags.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / udev / udev-058 / flags.patch
1
2 #
3 # Patch managed by http://www.holgerschurig.de/patcher.html
4 #
5
6 --- udev-058/Makefile~flags.patch
7 +++ udev-058/Makefile
8 @@ -153,16 +153,17 @@
9  
10  SYSFS = $(PWD)/libsysfs/sysfs.a
11  
12 -CFLAGS +=      -I$(PWD)/libsysfs/sysfs \
13 +override CFLAGS +=     -I$(PWD)/libsysfs/sysfs \
14                 -I$(PWD)/libsysfs
15  
16  ifeq ($(strip $(USE_LOG)),true)
17 -       CFLAGS += -DUSE_LOG
18 +override       CFLAGS += -DUSE_LOG
19  endif
20  
21  # if DEBUG is enabled, then we do not strip or optimize
22  ifeq ($(strip $(DEBUG)),true)
23 -       CFLAGS  += -O1 -g -DDEBUG
24 +       CFLAGS  += -O1 -g
25 +       override CFLAGS += -DDEBUG
26         LDFLAGS += -Wl
27         STRIPCMD = /bin/true -Since_we_are_debugging
28  else
29 @@ -178,9 +179,9 @@
30         KLCC            = $(KLIBC_INSTALL)/bin/klcc
31         CC              = $(KLCC)
32         LD              = $(KLCC)
33 -       LDFLAGS         += -static
34 +       override LDFLAGS                += -static
35  else
36 -       CFLAGS          += -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
37 +       override CFLAGS         += -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
38  endif
39  
40  ifeq ($(strip $(USE_SELINUX)),true)