Use gcc's knowledge of the macros needed to control POSIX thread safety behavior

rather than doing it directly ... so we can build on platforms which are not
strictly compatible.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34002 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2011-10-15 15:44:43 +00:00
parent ef146334b0
commit 57ccd10462
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2011-10-15 Richard Frith-Macdonald <rfm@gnu.org>
* config.mak.in:
Shift the responsibility for setting up macros controlling thread
safety to gnustep-make, and use the compiler -pthread option there.
2011-10-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/unix/Makefile.preamble:

View file

@ -51,7 +51,8 @@ endif
GNUSTEP_BASE_DOMAIN=@GNUSTEP_BASE_DOMAIN@
GNUSTEP_BASE_RELATIVE_PATHS=@GNUSTEP_BASE_RELATIVE_PATHS@
DEFS=-D_POSIX_C_SOURCE=199506L
# Any global prefprocessor defines can be added here
DEFS=
ifeq ($(GNUSTEP_BASE_RELATIVE_PATHS), yes)
ifneq ($(GNUSTEP_BASE_DOMAIN), $(GNUSTEP_INSTALLATION_DOMAIN))