mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-24 01:11:01 +00:00
Use _POSIX_C_SOURCE=199506L
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33998 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ef9bb6249e
commit
2f9fdd24b8
10 changed files with 20 additions and 10 deletions
12
ChangeLog
12
ChangeLog
|
@ -1,3 +1,15 @@
|
|||
2011-10-15 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/unix/Makefile.preamble:
|
||||
* Source/win32/Makefile.preamble:
|
||||
* Source/ObjectiveC2/Makefile.preamble:
|
||||
* Source/Additions/Makefile.preamble:
|
||||
* Source/Makefile.preamble:
|
||||
* config.mak.in:
|
||||
It seems various BSD operating systems have bugs in their _XOPEN_SOURCE
|
||||
implementation, so we can't generally use it. Try _POSIX_C_SOURCE
|
||||
instead.
|
||||
|
||||
2011-10-14 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/unix/Makefile.preamble:
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
#
|
||||
|
||||
# Additional flags to pass to the preprocessor
|
||||
ADDITIONAL_CPPFLAGS = $(DEFS) $(CONFIG_SYSTEM_DEFS) $(WARN_FLAGS)
|
||||
ADDITIONAL_CPPFLAGS = $(DEFS) $(WARN_FLAGS)
|
||||
|
||||
# Additional flags to pass to the Objective-C compiler
|
||||
ADDITIONAL_OBJCFLAGS = $(SSLFLAGS)
|
||||
|
|
|
@ -40,8 +40,8 @@
|
|||
|
||||
# Additional flags to pass to the preprocessor
|
||||
ADDITIONAL_CPPFLAGS = $(DEFS) \
|
||||
-D_XOPEN_SOURCE=600 -D_REENTRANT\
|
||||
$(WARN_FLAGS) -DNO_GNUSTEP=1
|
||||
$(WARN_FLAGS) \
|
||||
-DNO_GNUSTEP=1
|
||||
|
||||
# Additional flags to pass to the Objective-C compiler
|
||||
#ADDITIONAL_OBJCFLAGS =
|
||||
|
|
|
@ -86,7 +86,7 @@ else
|
|||
libgnustep-base_SUBPROJECTS += unix
|
||||
endif
|
||||
|
||||
DEFS= -DGNUSTEP_TARGET_DIR=\"$(GNUSTEP_TARGET_DIR)\" \
|
||||
DEFS+= -DGNUSTEP_TARGET_DIR=\"$(GNUSTEP_TARGET_DIR)\" \
|
||||
-DGNUSTEP_TARGET_CPU=\"$(GNUSTEP_TARGET_CPU)\" \
|
||||
-DGNUSTEP_TARGET_OS=\"$(GNUSTEP_TARGET_OS)\" \
|
||||
-DGNUSTEP_IS_FLATTENED=\"$(GNUSTEP_IS_FLATTENED)\" \
|
||||
|
|
|
@ -39,8 +39,7 @@
|
|||
#
|
||||
|
||||
# Additional flags to pass to the preprocessor
|
||||
ADDITIONAL_CPPFLAGS = $(DEFS) $(CONFIG_SYSTEM_DEFS) \
|
||||
-D_XOPEN_SOURCE=600 -D_REENTRANT\
|
||||
ADDITIONAL_CPPFLAGS = $(DEFS) \
|
||||
$(WARN_FLAGS) \
|
||||
-Wcast-align \
|
||||
#-Wstrict-prototypes \
|
||||
|
|
|
@ -40,7 +40,6 @@
|
|||
|
||||
# Additional flags to pass to the preprocessor
|
||||
ADDITIONAL_CPPFLAGS = $(DEFS) \
|
||||
-D_XOPEN_SOURCE=600 -D_REENTRANT\
|
||||
$(WARN_FLAGS)
|
||||
|
||||
# Additional flags to pass to the Objective-C compiler
|
||||
|
|
|
@ -40,7 +40,6 @@
|
|||
|
||||
# Additional flags to pass to the preprocessor
|
||||
ADDITIONAL_CPPFLAGS = $(DEFS) \
|
||||
-D_XOPEN_SOURCE=600 -D_REENTRANT\
|
||||
$(WARN_FLAGS)
|
||||
|
||||
# Additional flags to pass to the Objective-C compiler
|
||||
|
|
|
@ -40,7 +40,6 @@
|
|||
|
||||
# Additional flags to pass to the preprocessor
|
||||
ADDITIONAL_CPPFLAGS = $(DEFS) \
|
||||
-D_XOPEN_SOURCE=600 -D_REENTRANT\
|
||||
$(WARN_FLAGS)
|
||||
|
||||
# Additional flags to pass to the Objective-C compiler
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
#
|
||||
|
||||
# Additional flags to pass to the preprocessor
|
||||
ADDITIONAL_CPPFLAGS += $(WARN_FLAGS)
|
||||
ADDITIONAL_CPPFLAGS += $(DEFS) $(WARN_FLAGS)
|
||||
ifneq ($(GNUSTEP_GDOMAP_PORT_OVERRIDE),no)
|
||||
ADDITIONAL_CPPFLAGS += -DGDOMAP_PORT_OVERRIDE=$(GNUSTEP_GDOMAP_PORT_OVERRIDE)
|
||||
endif
|
||||
|
|
|
@ -51,6 +51,8 @@ endif
|
|||
GNUSTEP_BASE_DOMAIN=@GNUSTEP_BASE_DOMAIN@
|
||||
GNUSTEP_BASE_RELATIVE_PATHS=@GNUSTEP_BASE_RELATIVE_PATHS@
|
||||
|
||||
DEFS=-D_POSIX_C_SOURCE=199506L
|
||||
|
||||
ifeq ($(GNUSTEP_BASE_RELATIVE_PATHS), yes)
|
||||
ifneq ($(GNUSTEP_BASE_DOMAIN), $(GNUSTEP_INSTALLATION_DOMAIN))
|
||||
$(warning "Error: GNUSTEP_INSTALLATION_DOMAIN does not match GNUSTEP_BASE_DOMAIN")
|
||||
|
|
Loading…
Reference in a new issue