Fix libstdc++-v3/configure.target to set the config/os dir correctly
authorManuel Novoa III <mjn3@codepoet.org>
Sat, 24 Jan 2004 19:43:36 +0000 (19:43 -0000)
committerManuel Novoa III <mjn3@codepoet.org>
Sat, 24 Jan 2004 19:43:36 +0000 (19:43 -0000)
when building inside a native uClibc environment.

sources/gcc-uclibc-3.3-100-conf.patch

index e09c42dc882db222565a8926da8d52e0d4413f2b..2f839125531442702982166892585c4ff288f45d 100644 (file)
@@ -1773,6 +1773,19 @@ diff -urN gcc-3.3.2/libstdc++-v3/configure.in gcc-3.3.2-uClibc/libstdc++-v3/conf
      *-linux*)
        os_include_dir="os/gnu-linux"
        AC_CHECK_HEADERS([nan.h ieeefp.h endian.h sys/isa_defs.h \
+diff -urN gcc-3.3.2/libstdc++-v3/configure.target gcc-3.3.2-uClibc/libstdc++-v3/configure.target
+--- gcc-3.3.2/libstdc++-v3/configure.target    2004-01-24 12:02:59.000000000 -0600
++++ gcc-3.3.2-uClibc/libstdc++-v3/configure.target     2004-01-24 12:05:30.000000000 -0600
+@@ -133,6 +133,9 @@
+   freebsd*)
+     os_include_dir="os/bsd/freebsd"
+     ;;
++  linux-uclibc*)
++    os_include_dir="os/uclibc"
++    ;;
+   gnu* | linux*)
+     os_include_dir="os/gnu-linux"
+     ;;
 diff -urN gcc-3.3.2/libstdc++-v3/include/c_std/std_cstdlib.h gcc-3.3.2-uClibc/libstdc++-v3/include/c_std/std_cstdlib.h
 --- gcc-3.3.2/libstdc++-v3/include/c_std/std_cstdlib.h 2003-04-18 05:08:05.000000000 -0500
 +++ gcc-3.3.2-uClibc/libstdc++-v3/include/c_std/std_cstdlib.h  2004-01-06 18:22:00.000000000 -0600