]> granicus.if.org Git - gc/commit
Fix pthread_start compilation if single-obj-compilation (Linux)
authorIvan Maidanski <ivmai@mail.ru>
Thu, 8 Jun 2017 08:40:36 +0000 (11:40 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Sun, 2 Jul 2017 06:20:31 +0000 (09:20 +0300)
commit3300086e771782aff5ae3e4692057cc1d263505f
tree6dbd1fe5191b727f3e021d2ee145afc0cb247adc
parent4d7befe6f2ea3fc6347f217d22735b47210efc09
Fix pthread_start compilation if single-obj-compilation (Linux)
(Cherry-pick commits 8240ed0b45d96b from 'master' branch.)

* Makefile.am [SINGLE_GC_OBJ && PTHREAD_START_STANDALONE] (AM_CPPFLAGS):
Add -DGC_PTHREAD_START_STANDALONE.
* Makefile.am [SINGLE_GC_OBJ && PTHREAD_START_STANDALONE]
(libgc_la_SOURCES): Add pthread_start.c entry.
* Makefile.am: Add bank lines (to improve readability).
* configure.ac (pthread_start_standalone): New variable.
* configure.ac [*-*-*linux* && THREADS=posix] (pthread_start_standalone):
Set to yes (instead of AM_CONDITIONAL(PTHREAD_START_STANDALONE) directly).
* configure.ac (PTHREAD_START_STANDALONE): AM_CONDITIONAL if
pthread_start_standalone.
Makefile.am
configure.ac