diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-5.2/0046-musl-no-fixincludes.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.2/0046-musl-no-fixincludes.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-5.2/0046-musl-no-fixincludes.patch b/meta/recipes-devtools/gcc/gcc-5.2/0046-musl-no-fixincludes.patch new file mode 100644 index 0000000000..05fe52f5f5 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-5.2/0046-musl-no-fixincludes.patch | |||
@@ -0,0 +1,22 @@ | |||
1 | # HG changeset patch | ||
2 | # Parent 600a8a422ccaf5627ad1f5a138e7398df2b9e9d8 | ||
3 | Get rid of ever-broken fixincludes on musl. | ||
4 | |||
5 | Upstream-Status: Pending | ||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | |||
8 | |||
9 | Index: gcc-4.9-20140316/fixincludes/mkfixinc.sh | ||
10 | =================================================================== | ||
11 | --- gcc-4.9-20140316.orig/fixincludes/mkfixinc.sh | ||
12 | +++ gcc-4.9-20140316/fixincludes/mkfixinc.sh | ||
13 | @@ -19,7 +19,8 @@ case $machine in | ||
14 | powerpc-*-eabi* | \ | ||
15 | powerpc-*-rtems* | \ | ||
16 | powerpcle-*-eabisim* | \ | ||
17 | - powerpcle-*-eabi* ) | ||
18 | + powerpcle-*-eabi* | \ | ||
19 | + *-musl* ) | ||
20 | # IF there is no include fixing, | ||
21 | # THEN create a no-op fixer and exit | ||
22 | (echo "#! /bin/sh" ; echo "exit 0" ) > ${target} | ||