On Tue, Apr 2, 2013 at 1:59 PM, Pavel Chupin <pavel.v.chu...@gmail.com> wrote: > On Mon, Apr 1, 2013 at 7:07 PM, Pavel Chupin <pavel.v.chu...@gmail.com> wrote: >> On Android pthread is integrated into libc. >> Attached patch fixes configures for this case by trying to build test >> without -pthread -lpthread. >> >> 2013-04-01 Pavel Chupin <pavel.v.chu...@intel.com> >> >> Fix libatomic and libgomp configure for systems without libpthread >> * libatomic/configure.ac: Add test without -pthread -lpthread. >> * libgomp/configure.ac: Ditto. >> * libatomic/configure: Regenerate. >> * libgomp/configure: Regenerate. >> >> OK for trunk? >> > > I think I made a better fix: > > 2013-04-02 Pavel Chupin <pavel.v.chu...@intel.com> > > Redesign pthread in LIB_SPEC for systems without libpthread > * gcc/config/gnu-user.h: Remove pthread from GNU_USER_TARGET_LIB_SPEC > but keep in default LIB_SPEC > * gcc/config/linux-android.h: Add pthread to ANDROID_LIB_SPEC > > Is it OK for trunk?
Ping -- Pavel Chupin Intel Corporation
0001-Redesign-pthread-in-LIB_SPEC-for-systems-without-lib.patch
Description: Binary data