diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2013-04-02 18:52:48 +0800 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2013-04-02 19:02:47 +0800 |
commit | 8ca3ada77e50f58668ed31fac0d0b929a96ae40a (patch) | |
tree | 297572e2fb34d4e2a574d8a42fcca5b9cc992745 /gcc-4.8/gcc/config/arm/linux-eabi.h | |
parent | 5c602438be54c0802c21b299ab8bd94efbfc0c70 (diff) | |
download | toolchain_gcc-8ca3ada77e50f58668ed31fac0d0b929a96ae40a.tar.gz toolchain_gcc-8ca3ada77e50f58668ed31fac0d0b929a96ae40a.tar.bz2 toolchain_gcc-8ca3ada77e50f58668ed31fac0d0b929a96ae40a.zip |
[4.8] Enable x86/arm gcc defaults; Remove march/mtune/mfpmath hardcoded values
See c779c1ff50bde450eb49b3998353804602c4d963
Used to be local NDK patch at $NDK/build/tools/toolchain-patches/
gcc/0004-Enable-x86-gcc-defaults.patch
Also see 5578813961a205a7c5d3e9da8a1b5ec00d4dac3c
They should be passed in configure to work correctly.
See https://android-review.googlesource.com/50815
Change-Id: I0be1f1111870070f25d92d390d2738b52315865d
Diffstat (limited to 'gcc-4.8/gcc/config/arm/linux-eabi.h')
-rw-r--r-- | gcc-4.8/gcc/config/arm/linux-eabi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc-4.8/gcc/config/arm/linux-eabi.h b/gcc-4.8/gcc/config/arm/linux-eabi.h index a320c36ca..305d7cb34 100644 --- a/gcc-4.8/gcc/config/arm/linux-eabi.h +++ b/gcc-4.8/gcc/config/arm/linux-eabi.h @@ -87,7 +87,7 @@ #undef CC1_SPEC #define CC1_SPEC \ LINUX_OR_ANDROID_CC (GNU_USER_TARGET_CC1_SPEC, \ - GNU_USER_TARGET_CC1_SPEC " " ANDROID_CC1_SPEC) + GNU_USER_TARGET_CC1_SPEC " " ANDROID_CC1_SPEC("-fpic")) #define CC1PLUS_SPEC \ LINUX_OR_ANDROID_CC ("", ANDROID_CC1PLUS_SPEC) |