020-remove_gcc_debug_options.patch 923 B

123456789101112131415161718192021222324252627282930313233
  1. --- a/plugins/input_uvc/Makefile
  2. +++ b/plugins/input_uvc/Makefile
  3. @@ -13,7 +13,7 @@ OTHER_HEADERS = ../../mjpg_streamer.h ..
  4. CFLAGS += -O1 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC
  5. -CFLAGS += -g -DDEBUG
  6. +#CFLAGS += -g -DDEBUG
  7. ifeq ($(USE_LIBV4L2),true)
  8. LFLAGS += -lv4l2
  9. --- a/plugins/output_file/Makefile
  10. +++ b/plugins/output_file/Makefile
  11. @@ -12,7 +12,7 @@ CC = gcc
  12. OTHER_HEADERS = ../../mjpg_streamer.h ../../utils.h ../output.h ../input.h
  13. CFLAGS += -O2 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC
  14. -CFLAGS += -DDEBUG -g
  15. +#CFLAGS += -DDEBUG -g
  16. LFLAGS += -lpthread -ldl
  17. all: output_file.so
  18. --- a/plugins/output_udp/Makefile
  19. +++ b/plugins/output_udp/Makefile
  20. @@ -14,7 +14,7 @@ CC = gcc
  21. OTHER_HEADERS = ../../mjpg_streamer.h ../../utils.h ../output.h ../input.h
  22. CFLAGS += -O2 -DLINUX -D_GNU_SOURCE -Wall -shared -fPIC
  23. -CFLAGS += -DDEBUG
  24. +#CFLAGS += -DDEBUG
  25. LFLAGS += -lpthread -ldl
  26. all: output_udp.so