patch-Makefile_flags 608 B

123456789101112131415161718192021
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- busybox-1.12.3.orig/Makefile.flags 2008-09-28 20:04:30.000000000 +0200
  3. +++ busybox-1.12.3/Makefile.flags 2008-12-25 20:27:43.092824157 +0100
  4. @@ -46,15 +46,12 @@ CFLAGS += $(call cc-option,-falign-funct
  5. # be fixed..
  6. #CFLAGS += $(call cc-option,-Wconversion,)
  7. -ifneq ($(CONFIG_DEBUG),y)
  8. -CFLAGS += $(call cc-option,-Os,)
  9. -else
  10. +ifeq ($(CONFIG_DEBUG),y)
  11. CFLAGS += $(call cc-option,-g,)
  12. +else
  13. #CFLAGS += "-D_FORTIFY_SOURCE=2"
  14. ifeq ($(CONFIG_DEBUG_PESSIMIZE),y)
  15. CFLAGS += $(call cc-option,-O0,)
  16. -else
  17. -CFLAGS += $(call cc-option,-Os,)
  18. endif
  19. endif