]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - toolchain-patches/binutils/2.16.1/config.patch
Add toolchain patches.
[polintos/scott/priv.git] / toolchain-patches / binutils / 2.16.1 / config.patch
diff --git a/toolchain-patches/binutils/2.16.1/config.patch b/toolchain-patches/binutils/2.16.1/config.patch
new file mode 100644 (file)
index 0000000..e760f4b
--- /dev/null
@@ -0,0 +1,26 @@
+diff -urN binutils-2.16.1-orig/config.guess binutils-2.16.1/config.guess
+--- binutils-2.16.1-orig/config.guess  Mon Nov 15 19:18:39 2004
++++ binutils-2.16.1/config.guess       Fri Apr  7 17:33:30 2006
+@@ -139,6 +139,9 @@
+ # Note: order is significant - the case branches are not exclusive.
+ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
++    *:PolIntOS:*:*)
++        echo ${UNAME_MACHINE}-polintos
++        exit 0 ;;
+     *:NetBSD:*:*)
+       # NetBSD (nbsd) targets should (where applicable) match one or
+       # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
+diff -urN binutils-2.16.1-orig/config.sub binutils-2.16.1/config.sub
+--- binutils-2.16.1-orig/config.sub    Tue Jan 18 18:34:56 2005
++++ binutils-2.16.1/config.sub Fri Apr  7 17:35:18 2006
+@@ -1178,7 +1178,8 @@
+             | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
+             | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
+             | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
+-            | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
++            | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
++            | -polintos*)
+       # Remember, each alternative MUST END IN *, to match a version number.
+               ;;
+       -qnx*)