configure.ac: Move pthread affinity test to the place where '-pthread' passed to...
authorAlexander Ivchenko <alexander.ivchenko@intel.com>
Tue, 12 Aug 2014 11:06:44 +0000 (11:06 +0000)
committerKirill Yukhin <kyukhin@gcc.gnu.org>
Tue, 12 Aug 2014 11:06:44 +0000 (11:06 +0000)
commit7955b06580a73bd6ad0d744928ab4775e4723c78
tree158a00fe3e709b3e54e467d019bdf2029d24f729
parent5435176b314566bf4b8907d323619bc9c73076b3
configure.ac: Move pthread affinity test to the place where '-pthread' passed to CFLAGS.

libcilkrts/
* configure.ac: Move pthread affinity test to the place where
'-pthread' passed to CFLAGS. Otherwise the test always fails.
(XCFLAGS): New variable for correctly passing
'-pthread'.
(XLDFLAGS): New variable for passing the correct pthread lib.
* configure: Regenerate.
* Makefile.am (AM_CFLAGS): Add $XCFLAGS.
(AM_LDFLAGS): Add $XLDFLAGS.
* Makefile.in: Regenerate.

From-SVN: r213854
libcilkrts/ChangeLog
libcilkrts/Makefile.am
libcilkrts/Makefile.in
libcilkrts/configure
libcilkrts/configure.ac