diff options
author | Maxim Kuvyrkov <maxim@codesourcery.com> | 2010-07-19 20:05:46 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <mkuvyrkov@gcc.gnu.org> | 2010-07-19 20:05:46 +0000 |
commit | 2c8f43e695eda295b29989d2fe6a588a7b712dcd (patch) | |
tree | e081054cd58410b298e5f6b5caaaa6de8247ef5b /gcc/config.gcc | |
parent | b08e03394034a615de40842823ab849d78c8ecb2 (diff) | |
download | gcc-2c8f43e695eda295b29989d2fe6a588a7b712dcd.zip gcc-2c8f43e695eda295b29989d2fe6a588a7b712dcd.tar.gz gcc-2c8f43e695eda295b29989d2fe6a588a7b712dcd.tar.bz2 |
config.gcc (LIBC_GLIBC, [...]): Move constants to top level.
* config.gcc (LIBC_GLIBC, LIBC_UCLIBC, LIBC_BIONIC): Move constants
to top level.
* config/linux.h (LINUX_TARGET_OS_CPP_BUILTINS): Move Android-specific
definitions ...
* config/linux-android.h (ANDROID_TARGET_OS_CPP_BUILTINS): ... here.
New macro.
* config/arm/linux-eabi.h (TARGET_OS_CPP_BUILTINS): Use it.
From-SVN: r162315
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index 31ea32e..12b245d 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -405,6 +405,9 @@ case ${target} in ;; esac +# Common C libraries. +tm_defines="$tm_defines LIBC_GLIBC=1 LIBC_UCLIBC=2 LIBC_BIONIC=3" + # Common parts for widely ported systems. case ${target} in *-*-darwin*) @@ -508,8 +511,6 @@ case ${target} in *-*-gnu*) tmake_file="$tmake_file t-gnu";; esac - # Common C libraries. - tm_defines="$tm_defines LIBC_GLIBC=1 LIBC_UCLIBC=2 LIBC_BIONIC=3" # glibc / uclibc / bionic switch. # uclibc and bionic aren't usable for GNU/Hurd and neither for GNU/k*BSD. case $target in |