From cfcc935fa2f110fdf4824c67d3cd67f34d91f7a8 Mon Sep 17 00:00:00 2001 From: florian Date: Fri, 23 Nov 2012 20:02:29 +0000 Subject: [buildroot] add preliminary support for musl Musl is an alternative C-library, see http://www.musl-libc.org for more infos. Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34314 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/binutils/patches/2.22/200-musl.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 toolchain/binutils/patches/2.22/200-musl.patch (limited to 'toolchain/binutils') diff --git a/toolchain/binutils/patches/2.22/200-musl.patch b/toolchain/binutils/patches/2.22/200-musl.patch new file mode 100644 index 000000000..4c75920fc --- /dev/null +++ b/toolchain/binutils/patches/2.22/200-musl.patch @@ -0,0 +1,19 @@ +diff --git a/config.sub b/config.sub +--- a/config.sub ++++ b/config.sub +@@ -125,6 +125,7 @@ + maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` + case $maybe_os in + nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ ++ linux-musl* | \ + linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ + knetbsd*-gnu* | netbsd*-gnu* | \ + kopensolaris*-gnu* | \ +@@ -1335,6 +1336,7 @@ + | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ + | -mingw32* | -linux-gnu* | -linux-android* \ + | -linux-newlib* | -linux-uclibc* \ ++ | -linux-musl* \ + | -uxpv* | -beos* | -mpeix* | -udk* \ + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ -- cgit v1.2.3