summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.9/0069-musl-no-fixincludes.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-11-18 17:10:48 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-12 23:42:54 +0000
commita2ea58bbd7a4cea9670b0a409df3a498ac2395fa (patch)
tree47f057f094c16556fc09e68632f3a5e30ee63268 /meta/recipes-devtools/gcc/gcc-4.9/0069-musl-no-fixincludes.patch
parent37c74e24202a4e581c49c4b3e1e5facaa5f0c407 (diff)
downloadpoky-a2ea58bbd7a4cea9670b0a409df3a498ac2395fa.tar.gz
gcc: Add support for building musl configuration
Most of these patches are already in gcc 6.0/master but we still need them for older gcc, they have been tested in meta-musl for quite some time (From OE-Core rev: 30a0cc2ef72399b84da4903e697f258f79852fc9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.9/0069-musl-no-fixincludes.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.9/0069-musl-no-fixincludes.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.9/0069-musl-no-fixincludes.patch b/meta/recipes-devtools/gcc/gcc-4.9/0069-musl-no-fixincludes.patch
new file mode 100644
index 0000000000..e2b18a4022
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-4.9/0069-musl-no-fixincludes.patch
@@ -0,0 +1,21 @@
1# HG changeset patch
2# Parent 600a8a422ccaf5627ad1f5a138e7398df2b9e9d8
3Get rid of ever-broken fixincludes on musl.
4Upstream-Status: Pending
5Signed-off-by: Khem Raj <raj.khem@gmail.com>
6
7
8Index: gcc-4.9-20140316/fixincludes/mkfixinc.sh
9===================================================================
10--- gcc-4.9-20140316.orig/fixincludes/mkfixinc.sh
11+++ gcc-4.9-20140316/fixincludes/mkfixinc.sh
12@@ -19,7 +19,8 @@ case $machine in
13 powerpc-*-eabi* | \
14 powerpc-*-rtems* | \
15 powerpcle-*-eabisim* | \
16- powerpcle-*-eabi* )
17+ powerpcle-*-eabi* | \
18+ *-musl* )
19 # IF there is no include fixing,
20 # THEN create a no-op fixer and exit
21 (echo "#! /bin/sh" ; echo "exit 0" ) > ${target}