trunk.. same deal as changeset:6526
[openwrt.git] / package / udev / patches / 001-no_debug.patch
1 diff -Nur udev-103-old/Makefile udev-103-new/Makefile
2 --- udev-103-old/Makefile       2006-10-20 14:43:35.000000000 +0200
3 +++ udev-103-new/Makefile       2006-11-24 15:44:35.000000000 +0100
4 @@ -113,7 +113,7 @@
5  AR = $(CROSS_COMPILE)ar
6  RANLIB = $(CROSS_COMPILE)ranlib
7  
8 -CFLAGS         = -g -Wall -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
9 +CFLAGS         = -Wall -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
10  WARNINGS       = -Wstrict-prototypes -Wsign-compare -Wshadow \
11                   -Wchar-subscripts -Wmissing-declarations -Wnested-externs \
12                   -Wpointer-arith -Wcast-align -Wsign-compare -Wmissing-prototypes
13 @@ -130,7 +130,7 @@
14  
15  # if DEBUG is enabled, then we do not strip
16  ifeq ($(strip $(DEBUG)),true)
17 -       CFLAGS  += -DDEBUG
18 +       CFLAGS  += -g -DDEBUG
19  endif
20  
21  ifeq ($(strip $(USE_GCOV)),true)