scummvm random work
[patches.git] / gcc-cris-uclibc-subtarget.patch
CommitLineData
5e993f12 12006-04-13 Mike Frysinger <vapier@gentoo.org>
2
3 * config/cris/linux.h (CRIS_SUBTARGET_VERSION): Set to
4 cris-axis-linux-uclibc for uClibc targets.
5
6--- config/cris/linux.h
7+++ config/cris/linux.h
8@@ -74,7 +74,11 @@ Boston, MA 02110-1301, USA. */
9 #define CRIS_DEFAULT_CPU_VERSION CRIS_CPU_NG
10
11 #undef CRIS_SUBTARGET_VERSION
12-#define CRIS_SUBTARGET_VERSION " - cris-axis-linux-gnu"
13+#if UCLIBC_DEFAULT
14+# define CRIS_SUBTARGET_VERSION " - cris-axis-linux-uclibc"
15+#else
16+# define CRIS_SUBTARGET_VERSION " - cris-axis-linux-gnu"
17+#endif
18
19 #define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
20