[source] linux: unbreak host tools build for 4.14

LEDE Commits lede-commits at lists.infradead.org
Mon Dec 25 10:08:28 PST 2017


jogo pushed a commit to source.git, branch master:
https://git.lede-project.org/1064e76e4e12efe893cf0076f94ec2156295a9d6

commit 1064e76e4e12efe893cf0076f94ec2156295a9d6
Author: Jonas Gorski <jonas.gorski at gmail.com>
AuthorDate: Mon Dec 25 19:04:35 2017 +0100

    linux: unbreak host tools build for 4.14
    
    Remove a stray -Wp left in host_c_flags causing build failures for newer
    4.14 versions.
    
    Reported-by: Michael Marley <michael at michaelmarley.com>
    Signed-off-by: Jonas Gorski <jonas.gorski at gmail.com>
---
 target/linux/generic/hack-4.14/211-host_tools_portability.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/generic/hack-4.14/211-host_tools_portability.patch b/target/linux/generic/hack-4.14/211-host_tools_portability.patch
index 1434f1c..59f1479 100644
--- a/target/linux/generic/hack-4.14/211-host_tools_portability.patch
+++ b/target/linux/generic/hack-4.14/211-host_tools_portability.patch
@@ -17,7 +17,7 @@ Signed-off-by: Felix Fietkau <nbd at nbd.name>
  ## HOSTCC C flags
  
 -host_c_flags = -Wp,-MD,$(depfile) -Wp,-MT,$@ $(CHOSTFLAGS) -D"BUILD_STR(s)=\#s" $(CHOSTFLAGS_$(basetarget).o) $(CHOSTFLAGS_$(obj))
-+host_c_flags = -MD -MF $(depfile) -Wp -MT $@ $(CHOSTFLAGS) -D"BUILD_STR(s)=\#s" $(CHOSTFLAGS_$(basetarget).o) $(CHOSTFLAGS_$(obj))
++host_c_flags = -MD -MF $(depfile) -MT $@ $(CHOSTFLAGS) -D"BUILD_STR(s)=\#s" $(CHOSTFLAGS_$(basetarget).o) $(CHOSTFLAGS_$(obj))
 --- a/tools/perf/pmu-events/jevents.c
 +++ b/tools/perf/pmu-events/jevents.c
 @@ -35,6 +35,7 @@



More information about the lede-commits mailing list