[openwrt/openwrt] uboot-fritz4040: fix build with gcc7

LEDE Commits lede-commits at lists.infradead.org
Mon Mar 12 11:33:26 PDT 2018


nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/d85a7f1eb248c54d8936b26a95459fbc18f8a174

commit d85a7f1eb248c54d8936b26a95459fbc18f8a174
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Mon Mar 12 19:31:31 2018 +0100

    uboot-fritz4040: fix build with gcc7
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 package/boot/uboot-fritz4040/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/boot/uboot-fritz4040/Makefile b/package/boot/uboot-fritz4040/Makefile
index 4a36c55..65d70e0 100644
--- a/package/boot/uboot-fritz4040/Makefile
+++ b/package/boot/uboot-fritz4040/Makefile
@@ -37,6 +37,7 @@ define Build/Configure
 	$(HOSTCC) -o $(PKG_BUILD_DIR)/fritz/lzma2eva $(PKG_BUILD_DIR)/fritz/src/lzma2eva.c -lz
 	$(HOSTCC) -o $(PKG_BUILD_DIR)/fritz/tichksum $(PKG_BUILD_DIR)/fritz/src/tichksum.c
 	ln -sf $(STAGING_DIR_HOST)/bin/lzma $(PKG_BUILD_DIR)/fritz
+	ln -sf compiler-gcc5.h $(PKG_BUILD_DIR)/include/linux/compiler-gcc7.h
 endef
 
 define Build/Compile



More information about the lede-commits mailing list