summaryrefslogtreecommitdiff
path: root/package/u-boot-h8300/patches/patch-include_linux_compiler-gcc_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-09-17 12:24:34 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-09-17 12:24:34 +0200
commit95444b27abfb723db6c66c08dc6c12c7e1128e2e (patch)
treec9acdec9f7f8cb7e22caad371c77834c389655c0 /package/u-boot-h8300/patches/patch-include_linux_compiler-gcc_h
parent79d5a4a7dc9648e2d55407ca11daa9a4342abe72 (diff)
remove -fhonour-copts usage
This reuires a external gcc patch, which I no longer add to newer gcc. A lot of packages already need to disable the usage of -fhonour-copts, because it doesn't work without patching. May be we need something like Buildroot is using, a gcc wrapper to see poisened include or library paths while cross-compiling.
Diffstat (limited to 'package/u-boot-h8300/patches/patch-include_linux_compiler-gcc_h')
-rw-r--r--package/u-boot-h8300/patches/patch-include_linux_compiler-gcc_h11
1 files changed, 0 insertions, 11 deletions
diff --git a/package/u-boot-h8300/patches/patch-include_linux_compiler-gcc_h b/package/u-boot-h8300/patches/patch-include_linux_compiler-gcc_h
deleted file mode 100644
index 9780e2175..000000000
--- a/package/u-boot-h8300/patches/patch-include_linux_compiler-gcc_h
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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__)
-