generic-poky/meta/recipes-devtools/gcc/gcc-4.9/0069-musl-no-fixincludes.patch
Khem Raj a2ea58bbd7 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>
2015-12-12 23:42:54 +00:00

22 lines
713 B
Diff

# HG changeset patch
# Parent 600a8a422ccaf5627ad1f5a138e7398df2b9e9d8
Get rid of ever-broken fixincludes on musl.
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Index: gcc-4.9-20140316/fixincludes/mkfixinc.sh
===================================================================
--- gcc-4.9-20140316.orig/fixincludes/mkfixinc.sh
+++ gcc-4.9-20140316/fixincludes/mkfixinc.sh
@@ -19,7 +19,8 @@ case $machine in
powerpc-*-eabi* | \
powerpc-*-rtems* | \
powerpcle-*-eabisim* | \
- powerpcle-*-eabi* )
+ powerpcle-*-eabi* | \
+ *-musl* )
# IF there is no include fixing,
# THEN create a no-op fixer and exit
(echo "#! /bin/sh" ; echo "exit 0" ) > ${target}