- add pattern for gnuhurd-uclibc
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 5 Oct 2007 11:00:41 +0000 (11:00 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 5 Oct 2007 11:00:41 +0000 (11:00 -0000)
package/gnuconfig/config.sub
package/gnuconfig/patches/config.sub.gnuhurd-uclibc.patch [new file with mode: 0644]

index 63cdd0a35d5e7fb774e51115786ea308dd19dbae..392e21fc20d2d439472481ad46feaa939f2c1095 100755 (executable)
@@ -121,6 +121,7 @@ esac
 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
 case $maybe_os in
   nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
+  gnu*-uclibc* | \
   uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
   storm-chaos* | os2-emx* | rtmk-nova*)
     os=-$maybe_os
@@ -1237,6 +1238,7 @@ case $os in
              | -chorusos* | -chorusrdb* \
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
              | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
+             | -gnu*-uclibc* \
              | -uxpv* | -beos* | -mpeix* | -udk* \
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
diff --git a/package/gnuconfig/patches/config.sub.gnuhurd-uclibc.patch b/package/gnuconfig/patches/config.sub.gnuhurd-uclibc.patch
new file mode 100644 (file)
index 0000000..6fcdf81
--- /dev/null
@@ -0,0 +1,20 @@
+Index: config.sub
+===================================================================
+--- config.sub (revision 20153)
++++ config.sub (working copy)
+@@ -121,6 +121,7 @@
+ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
+ case $maybe_os in
+   nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
++  gnu*-uclibc* | \
+   uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
+   storm-chaos* | os2-emx* | rtmk-nova*)
+     os=-$maybe_os
+@@ -1237,6 +1238,7 @@
+             | -chorusos* | -chorusrdb* \
+             | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
+             | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
++            | -gnu*-uclibc* \
+             | -uxpv* | -beos* | -mpeix* | -udk* \
+             | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
+             | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \