Root/package/udevtrigger/patches/001-no_debug.patch

1--- a/Makefile
2+++ b/Makefile
3@@ -113,7 +113,7 @@ LD = $(CROSS_COMPILE)gcc
4 AR = $(CROSS_COMPILE)ar
5 RANLIB = $(CROSS_COMPILE)ranlib
6 
7-CFLAGS = -g -Wall -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
8+CFLAGS = -Wall -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
9 WARNINGS = -Wstrict-prototypes -Wsign-compare -Wshadow \
10           -Wchar-subscripts -Wmissing-declarations -Wnested-externs \
11           -Wpointer-arith -Wcast-align -Wsign-compare -Wmissing-prototypes
12@@ -130,7 +130,7 @@ endif
13 
14 # if DEBUG is enabled, then we do not strip
15 ifeq ($(strip $(DEBUG)),true)
16- CFLAGS += -DDEBUG
17+ CFLAGS += -g -DDEBUG
18 endif
19 
20 ifeq ($(strip $(USE_GCOV)),true)
21

Archive Download this file



interactive