浏览代码

u-boot-h8300: alow to build with host gcc >5

Waldemar Brodkorb 6 年之前
父节点
当前提交
875d97a257
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. 11 0
      package/u-boot-h8300/patches/patch-include_linux_compiler-gcc_h

+ 11 - 0
package/u-boot-h8300/patches/patch-include_linux_compiler-gcc_h

@@ -0,0 +1,11 @@
+--- u-boot-h8300.orig/include/linux/compiler-gcc.h	2017-08-02 19:27:30.000000000 +0200
++++ u-boot-h8300/include/linux/compiler-gcc.h	2017-08-02 19:51:29.008209716 +0200
+@@ -109,7 +109,7 @@
+ #define __always_unused			__attribute__((unused))
+ 
+ #define __gcc_header(x) #x
+-#define _gcc_header(x) __gcc_header(linux/compiler-gcc##x.h)
++#define _gcc_header(x) __gcc_header(linux/compiler-gcc5.h)
+ #define gcc_header(x) _gcc_header(x)
+ #include gcc_header(__GNUC__)
+