diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2012-12-26 17:08:36 -0800 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2012-12-26 17:08:36 -0800 |
commit | 001afd51a767aef75b27675b0fafe203bada4774 (patch) | |
tree | 79fa72516bc66d239799bef4f68526df11188b7d /gcc-4.4.3/gcc/config | |
parent | 946c2a6b57ac7d3b2b656ac628bcb14a216ec635 (diff) | |
parent | 1271761f530c0050154e8d526b95f952df551751 (diff) | |
download | toolchain_gcc-001afd51a767aef75b27675b0fafe203bada4774.tar.gz toolchain_gcc-001afd51a767aef75b27675b0fafe203bada4774.tar.bz2 toolchain_gcc-001afd51a767aef75b27675b0fafe203bada4774.zip |
Merge "Modifications to enable OpenMP in Android."
Diffstat (limited to 'gcc-4.4.3/gcc/config')
-rw-r--r-- | gcc-4.4.3/gcc/config/arm/linux-eabi.h | 2 | ||||
-rw-r--r-- | gcc-4.4.3/gcc/config/linux-android.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/gcc-4.4.3/gcc/config/arm/linux-eabi.h b/gcc-4.4.3/gcc/config/arm/linux-eabi.h index 9004f0171..d44fcddda 100644 --- a/gcc-4.4.3/gcc/config/arm/linux-eabi.h +++ b/gcc-4.4.3/gcc/config/arm/linux-eabi.h @@ -87,7 +87,7 @@ #undef LIB_SPEC #define LIB_SPEC \ LINUX_OR_ANDROID_LD (LINUX_TARGET_LIB_SPEC, \ - LINUX_TARGET_LIB_SPEC " " ANDROID_LIB_SPEC) + ANDROID_LIB_SPEC " " LINUX_TARGET_LIB_SPEC ) #undef STARTFILE_SPEC #define STARTFILE_SPEC \ diff --git a/gcc-4.4.3/gcc/config/linux-android.h b/gcc-4.4.3/gcc/config/linux-android.h index f9fcf5ba3..b5bc2bb64 100644 --- a/gcc-4.4.3/gcc/config/linux-android.h +++ b/gcc-4.4.3/gcc/config/linux-android.h @@ -53,7 +53,8 @@ "--noexecstack" #define ANDROID_LIB_SPEC \ - "%{!static: -ldl}" + "%{!static: -ldl} \ + %{pthread:-lc}" #define ANDROID_STARTFILE_SPEC \ "%{!shared:" \ |