diff options
Diffstat (limited to 'gcc-4.8/gcc/config/linux-android.h')
-rw-r--r-- | gcc-4.8/gcc/config/linux-android.h | 3 |
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;:" \ |