001-no_debug.patch 643 B

1234567891011121314151617181920
  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. -CFLAGS = -g -Wall -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
  7. +CFLAGS = -Wall -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
  8. WARNINGS = -Wstrict-prototypes -Wsign-compare -Wshadow \
  9. -Wchar-subscripts -Wmissing-declarations -Wnested-externs \
  10. -Wpointer-arith -Wcast-align -Wsign-compare -Wmissing-prototypes
  11. @@ -130,7 +130,7 @@ endif
  12. # if DEBUG is enabled, then we do not strip
  13. ifeq ($(strip $(DEBUG)),true)
  14. - CFLAGS += -DDEBUG
  15. + CFLAGS += -g -DDEBUG
  16. endif
  17. ifeq ($(strip $(USE_GCOV)),true)