Hi, Linux/x86 target is configured as i686-android-linux. Changing it to i686-linuxandroid requires changes in many packages. This patch adds DEFAULT_LIBC=LIBC_BIONIC and ANDROID_DEFAULT=1 to *-android-*. OK for trunk in stage 1?
Thanks. H.J. --- 2011-12-15 H.J. Lu <hongjiu...@intel.com> * config.gcc: Add DEFAULT_LIBC=LIBC_BIONIC and ANDROID_DEFAULT=1 to *-android-*. diff --git a/gcc/config.gcc b/gcc/config.gcc index b386424..0801431 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -585,7 +585,7 @@ case ${target} in tm_defines="$tm_defines SINGLE_LIBC";; esac case $target in - *-*-*android*) + *-*-*android* | *-android-*) tm_defines="$tm_defines DEFAULT_LIBC=LIBC_BIONIC" ;; *-*-*uclibc*) @@ -609,7 +609,7 @@ case ${target} in esac # Enable compilation for Android by default for *android* targets. case $target in - *-*-*android*) + *-*-*android* | *-android-*) tm_defines="$tm_defines ANDROID_DEFAULT=1" ;; *)