[procps] vm.min_free_kbytes is removed in sysctl.conf"
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-core / udev / udev-124 / flags.patch
1 ---
2  Makefile |   16 ++++++++--------
3  1 file changed, 8 insertions(+), 8 deletions(-)
4
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
9 @@ -112,39 +112,39 @@
10  AR = $(CROSS_COMPILE)ar
11  RANLIB = $(CROSS_COMPILE)ranlib
12  
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)
20  
21  LDFLAGS += -Wl,-warn-common,--as-needed
22  
23  OPTFLAGS = -Os
24 -CFLAGS += $(OPTFLAGS)
25 +override CFLAGS += $(OPTFLAGS)
26  
27  ifeq ($(strip $(USE_LOG)),true)
28 -       CFLAGS += -DUSE_LOG
29 +       override CFLAGS += -DUSE_LOG
30  endif
31  
32  # if DEBUG is enabled, then we do not strip
33  ifeq ($(strip $(DEBUG)),true)
34 -       CFLAGS  += -DDEBUG
35 +       override CFLAGS  += -DDEBUG
36  endif
37  
38  ifeq ($(strip $(USE_GCOV)),true)
39 -       CFLAGS += -fprofile-arcs -ftest-coverage
40 +       override CFLAGS += -fprofile-arcs -ftest-coverage
41         LDFLAGS += -fprofile-arcs
42  endif
43  
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
49  endif
50  
51  ifeq ($(strip $(USE_STATIC)),true)
52 -       CFLAGS += -DUSE_STATIC
53 +       override CFLAGS += -DUSE_STATIC
54         LDFLAGS += -static
55  endif
56