kernel: update kernel 4.4 to 4.4.59
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.4 / 0551-kbuild-add-fno-PIE.patch
index 0d2c1a5744fdc4adc999837bea328c0e22fcb8de..f76490befc6598635ecf9dd3915f004080b77bd1 100644 (file)
@@ -27,8 +27,6 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  Makefile | 2 ++
  1 file changed, 2 insertions(+)
 
-diff --git a/Makefile b/Makefile
-index 1099371..c17219e 100644
 --- a/Makefile
 +++ b/Makefile
 @@ -619,6 +619,8 @@ include arch/$(SRCARCH)/Makefile
@@ -39,7 +37,4 @@ index 1099371..c17219e 100644
 +KBUILD_AFLAGS += $(call cc-option,-fno-PIE)
  
  ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
- KBUILD_CFLAGS += -Os
--- 
-2.1.4
-
+ KBUILD_CFLAGS += -Os $(EXTRA_OPTIMIZATION)