summaryrefslogtreecommitdiff
path: root/gcc/config/alpha/linux.h
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-20 20:09:24 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-20 20:09:24 +0000
commitd9993a193258bc05cecae6ace9ef97ce4f06438a (patch)
treea6e8e8f100327d1539de9ab12a543692b410a252 /gcc/config/alpha/linux.h
parentd92c13833b08a9f898fd890d9e93cfa7bc4d7b08 (diff)
downloadgcc-d9993a193258bc05cecae6ace9ef97ce4f06438a.tar.gz
* config/alpha/linux.h (OPTION_GLIBC): Define differently if
SINGLE_LIBC. * config/linux.h (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC): Define differently if SINGLE_LIBC. * config/rs6000/linux.h (OPTION_GLIBC): Define differently if SINGLE_LIBC. * config/rs6000/linux64.h (OPTION_GLIBC): Define differently if SINGLE_LIBC. * config.gcc (*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu): Define SINGLE_LIBC instead of OPTION_GLIBC. (*-*-uclinux*): Define DEFAULT_LIBC and SINGLE_LIBC. (bfin*-uclinux*, moxie-*-uclinux*, m68k-*-uclinux*): Don't define DEFAULT_LIBC or use linux.opt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168094 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/alpha/linux.h')
-rw-r--r--gcc/config/alpha/linux.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/alpha/linux.h b/gcc/config/alpha/linux.h
index 86b6594f45b..a1881c8168b 100644
--- a/gcc/config/alpha/linux.h
+++ b/gcc/config/alpha/linux.h
@@ -61,7 +61,11 @@ along with GCC; see the file COPYING3. If not see
#undef WCHAR_TYPE
#define WCHAR_TYPE "int"
+#ifdef SINGLE_LIBC
+#define OPTION_GLIBC (DEFAULT_LIBC == LIBC_GLIBC)
+#else
#define OPTION_GLIBC (linux_libc == LIBC_GLIBC)
+#endif
/* Determine whether the entire c99 runtime is present in the
runtime library. */