aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2018-03-12 19:31:31 +0100
committerFelix Fietkau <nbd@nbd.name>2018-03-12 19:31:50 +0100
commitd85a7f1eb248c54d8936b26a95459fbc18f8a174 (patch)
treec0073ecc5094bb768610c490670b99cc00478429 /package
parented3860c3e3ebe484c00cf603c29e68af28eb0839 (diff)
downloadupstream-d85a7f1eb248c54d8936b26a95459fbc18f8a174.tar.gz
upstream-d85a7f1eb248c54d8936b26a95459fbc18f8a174.tar.bz2
upstream-d85a7f1eb248c54d8936b26a95459fbc18f8a174.zip
uboot-fritz4040: fix build with gcc7
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package')
-rw-r--r--package/boot/uboot-fritz4040/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/boot/uboot-fritz4040/Makefile b/package/boot/uboot-fritz4040/Makefile
index 4a36c55095..65d70e0502 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