for some reason the diff got attached as octet stream
i'd cc gregor since it was his work originally and he
is not subscribed to the ml
this part seems to change the behaviour for other
libcs, is that necessary?
glibc, bionic and uclib have special definitions to be able to detect which libc is used (__GLIBC__, __UCLIBC__). musl doesn't support such solutions, so we can use host_os (gcc-4.8-musl.diff):
diff -urN gcc-4.8-20130321.orig/libstdc++-v3/configure.host gcc-4.8-20130321/libstdc++-v3/configure.host --- gcc-4.8-20130321.orig/libstdc++-v3/configure.host Sat Mar 30 00:29:39 2013 +++ gcc-4.8-20130321/libstdc++-v3/configure.host Sat Mar 30 00:31:28 2013
@@ -268,6 +268,8 @@ os_include_dir="os/uclibc" elif [ "$bionic" = "yes" ]; then os_include_dir="os/bionic" + elif [ "$host_os" = "linux-musl" ]; then
+ os_include_dir="os/generic" else os_include_dir="os/gnu-linux" fi