201-extra_optimization.patch 750 B

12345678910111213141516171819202122232425
  1. From: Felix Fietkau <[email protected]>
  2. Subject: Upgrade to Linux 2.6.19
  3. - Includes large parts of the patch from #1021 by dpalffy
  4. - Includes RB532 NAND driver changes by n0-1
  5. [[email protected]: feix will add this to his upstream queue]
  6. lede-commit: bff468813f78f81e36ebb2a3f4354de7365e640f
  7. Signed-off-by: Felix Fietkau <[email protected]>
  8. ---
  9. Makefile | 6 +++---
  10. 1 file changed, 3 insertions(+), 3 deletions(-)
  11. --- a/Makefile
  12. +++ b/Makefile
  13. @@ -756,7 +756,7 @@ KBUILD_CFLAGS += -O2
  14. else ifdef CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE_O3
  15. KBUILD_CFLAGS += -O3
  16. else ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
  17. -KBUILD_CFLAGS += -Os
  18. +KBUILD_CFLAGS += -Os -fno-reorder-blocks -fno-tree-ch
  19. endif
  20. # Tell gcc to never replace conditional load with a non-conditional one