diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2014-04-14 16:41:52 -0700 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2014-04-22 15:32:56 -0700 |
commit | 12bd1931fd8a295e88a39aebc4f6c0ef98add4f5 (patch) | |
tree | ead63640d07be3b3072856c087069e885213158a /gcc-4.9/gcc/config/mips/gnu-user.h | |
parent | 729619cb26b27db827d5dca9f5d4e0ecf5c1e23d (diff) | |
download | toolchain_gcc-12bd1931fd8a295e88a39aebc4f6c0ef98add4f5.tar.gz toolchain_gcc-12bd1931fd8a295e88a39aebc4f6c0ef98add4f5.tar.bz2 toolchain_gcc-12bd1931fd8a295e88a39aebc4f6c0ef98add4f5.zip |
[4.9] Port MIPS Android support to GCC-4.9
See 75b9f722caccc5276fc9c236b9ccb3f7888a86f8
Change-Id: Ia941c59bb94ab943c6ccc188b050daf1894d31d2
Diffstat (limited to 'gcc-4.9/gcc/config/mips/gnu-user.h')
-rw-r--r-- | gcc-4.9/gcc/config/mips/gnu-user.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc-4.9/gcc/config/mips/gnu-user.h b/gcc-4.9/gcc/config/mips/gnu-user.h index 1a5b0deb9..bbe78886f 100644 --- a/gcc-4.9/gcc/config/mips/gnu-user.h +++ b/gcc-4.9/gcc/config/mips/gnu-user.h @@ -36,6 +36,7 @@ along with GCC; see the file COPYING3. If not see /* The GNU C++ standard library requires this. */ \ if (c_dialect_cxx ()) \ builtin_define ("_GNU_SOURCE"); \ + ANDROID_TARGET_OS_CPP_BUILTINS(); \ } while (0) #undef SUBTARGET_CPP_SPEC @@ -117,7 +118,7 @@ extern const char *host_detect_local_cpu (int argc, const char **argv); #endif #define LINUX_DRIVER_SELF_SPECS \ - NO_SHARED_SPECS \ + LINUX_OR_ANDROID_CC(NO_SHARED_SPECS, "") \ MARCH_MTUNE_NATIVE_SPECS, \ /* -mplt has no effect without -mno-shared. Simplify later \ specs handling by removing a redundant option. */ \ |