aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.6/gcc/config/linux-android.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.6/gcc/config/linux-android.h')
-rw-r--r--gcc-4.6/gcc/config/linux-android.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc-4.6/gcc/config/linux-android.h b/gcc-4.6/gcc/config/linux-android.h
index 033cfefd1..c6d9cddb9 100644
--- a/gcc-4.6/gcc/config/linux-android.h
+++ b/gcc-4.6/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: crtbegin_so%O%s;:" \