aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8/gcc/config/linux-android.h
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2013-04-02 19:46:23 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2013-04-02 20:35:58 +0800
commitc27bd5a265e6aeecefa6bfebe52fcf26b08298cd (patch)
tree9b67ab1936ffce50de472c87b14e2e9cd5d4a003 /gcc-4.8/gcc/config/linux-android.h
parente830d092a4da90315a8c7bbe886582fc6357606d (diff)
downloadtoolchain_gcc-c27bd5a265e6aeecefa6bfebe52fcf26b08298cd.tar.gz
toolchain_gcc-c27bd5a265e6aeecefa6bfebe52fcf26b08298cd.tar.bz2
toolchain_gcc-c27bd5a265e6aeecefa6bfebe52fcf26b08298cd.zip
[4.8] Support OpenMP
See b6e375800c9a2f02a732cbdf5e87a860c3d954e1, 1271761f530c0050154e8d526b95f952df551751, 92c478dba755a1a2f6f00ff390666acbffd41982 and 51df2e98d22e2c6f5d2a16860bc8fc3644179c1d. Change-Id: I7b01524a5516dd31b26a68cccc616a066893db39
Diffstat (limited to 'gcc-4.8/gcc/config/linux-android.h')
-rw-r--r--gcc-4.8/gcc/config/linux-android.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc-4.8/gcc/config/linux-android.h b/gcc-4.8/gcc/config/linux-android.h
index a82c3f067..87957e338 100644
--- a/gcc-4.8/gcc/config/linux-android.h
+++ b/gcc-4.8/gcc/config/linux-android.h
@@ -52,7 +52,8 @@
"--noexecstack"
#define ANDROID_LIB_SPEC \
- "%{!static: -ldl}"
+ "%{!static: -ldl} \
+ %{pthread: -lc}"
#define ANDROID_STARTFILE_SPEC \
"%{shared: crtbegin_so%O%s;:" \