001-no_debug.patch 796 B

12345678910111213141516171819202122
  1. Index: udev-106/Makefile
  2. ===================================================================
  3. --- udev-106.orig/Makefile 2007-06-04 13:22:17.765154568 +0200
  4. +++ udev-106/Makefile 2007-06-04 13:22:17.831144536 +0200
  5. @@ -113,7 +113,7 @@
  6. AR = $(CROSS_COMPILE)ar
  7. RANLIB = $(CROSS_COMPILE)ranlib
  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. # if DEBUG is enabled, then we do not strip
  15. ifeq ($(strip $(DEBUG)),true)
  16. - CFLAGS += -DDEBUG
  17. + CFLAGS += -g -DDEBUG
  18. endif
  19. ifeq ($(strip $(USE_GCOV)),true)