1
0

004-remove-cflags.patch 669 B

12345678910111213141516171819202122
  1. diff -Nur busybox-1.18.1.orig/Makefile.flags busybox-1.18.1/Makefile.flags
  2. --- busybox-1.18.1.orig/Makefile.flags 2010-12-20 01:41:26.000000000 +0100
  3. +++ busybox-1.18.1/Makefile.flags 2011-01-27 21:24:51.000000000 +0100
  4. @@ -57,18 +57,6 @@
  5. # be fixed..
  6. #CFLAGS += $(call cc-option,-Wconversion,)
  7. -ifneq ($(CONFIG_DEBUG),y)
  8. -CFLAGS += $(call cc-option,-Os,)
  9. -else
  10. -CFLAGS += $(call cc-option,-g,)
  11. -#CFLAGS += "-D_FORTIFY_SOURCE=2"
  12. -ifeq ($(CONFIG_DEBUG_PESSIMIZE),y)
  13. -CFLAGS += $(call cc-option,-O0,)
  14. -else
  15. -CFLAGS += $(call cc-option,-Os,)
  16. -endif
  17. -endif
  18. -
  19. # If arch/$(ARCH)/Makefile did not override it (with, say, -fPIC)...
  20. ARCH_FPIC ?= -fpic
  21. ARCH_FPIE ?= -fpie