ICU-5121 Improve usage of _REENTRANT

X-SVN-Rev: 19419
This commit is contained in:
George Rhoten 2006-03-23 18:51:51 +00:00
parent a6e0012c36
commit 3bc9b13a04
9 changed files with 17 additions and 13 deletions

View file

@ -13,8 +13,8 @@ SHAREDLIBCXXFLAGS = -fPIC
SHAREDLIBCPPFLAGS = -DPIC
## Additional flags when building libraries and with threads
LIBCPPFLAGS = -D_REENTRANT
THREADSCPPFLAGS = -D_REENTRANT
LIBCPPFLAGS =
# The tests need complete IEEE floating point support
CFLAGS += -ieee

View file

@ -13,8 +13,8 @@ SHAREDLIBCXXFLAGS = -fPIC
SHAREDLIBCPPFLAGS = -DPIC
## Additional flags when building libraries and with threads
LIBCPPFLAGS = -D_REENTRANT
THREADSCPPFLAGS = -D_REENTRANT
LIBCPPFLAGS =
# The tests need complete IEEE floating point support
CFLAGS += -mieee

View file

@ -13,8 +13,8 @@ SHAREDLIBCXXFLAGS =
SHAREDLIBCPPFLAGS =
## Additional flags when building libraries and with threads
LIBCPPFLAGS = -D_REENTRANT
THREADSCPPFLAGS = -D_REENTRANT -pthread
LIBCPPFLAGS =
# The tests need complete IEEE floating point support
CFLAGS += -ieee

View file

@ -1,6 +1,6 @@
## -*-makefile-*-
## FreeBSD-specific setup
## Copyright (c) 1999-2004, International Business Machines Corporation and
## BSD-specific setup (FreeBSD, OpenBSD, NetBSD, *BSD)
## Copyright (c) 1999-2006, International Business Machines Corporation and
## others. All Rights Reserved.
## Commands to generate dependency files
@ -12,6 +12,10 @@ SHAREDLIBCFLAGS = -fPIC
SHAREDLIBCXXFLAGS = -fPIC
SHAREDLIBCPPFLAGS = -DPIC
## Additional flags when building libraries and with threads
THREADSCPPFLAGS = -D_REENTRANT
LIBCPPFLAGS =
## Compiler switch to embed a runtime search path
LD_RPATH=
LD_RPATH_PRE= -Wl,-rpath,

View file

@ -22,8 +22,8 @@ SHAREDLIBCXXFLAGS =
SHAREDLIBCPPFLAGS = -DPIC
## Additional flags when building libraries and with threads
LIBCPPFLAGS = -D_REENTRANT
THREADSCPPFLAGS = -D_REENTRANT
LIBCPPFLAGS =
# Commands to link. Link with C++ in case static libraries are used.
LINK.c= $(CXX) $(CXXFLAGS) $(LDFLAGS)

View file

@ -1,6 +1,6 @@
## -*-makefile-*-
## IRIX-specific setup (for CC)
## Copyright (c) 1999-2004, International Business Machines Corporation and
## Copyright (c) 1999-2006, International Business Machines Corporation and
## others. All Rights Reserved.
## Flags for position independent code
@ -24,8 +24,8 @@ SHLIB.c= $(CC) -shared $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS)
SHLIB.cc= $(CXX) -shared $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS)
## Additional flags when building libraries with thread safety
LIBCPPFLAGS = -D_REENTRANT
THREADSCPPFLAGS = -D_REENTRANT -D_PTHREADS
LIBCPPFLAGS =
## Compiler switch to embed a runtime search path
LD_RPATH=

View file

@ -13,8 +13,8 @@ SHAREDLIBCXXFLAGS = -fPIC
SHAREDLIBCPPFLAGS = -DPIC
## Additional flags when building libraries and with threads
LIBCPPFLAGS = -D_REENTRANT
THREADSCPPFLAGS = -D_REENTRANT
LIBCPPFLAGS =
## Compiler switch to embed a runtime search path
LD_RPATH=

View file

@ -1,6 +1,6 @@
## -*-makefile-*-
## Linux-specific setup for Visual Age
## Copyright (c) 2003-2005, International Business Machines Corporation and
## Copyright (c) 2003-2006, International Business Machines Corporation and
## others. All Rights Reserved.
## Commands to generate dependency files
@ -20,8 +20,8 @@ SHAREDLIBCXXFLAGS = -qpic=large
SHAREDLIBCPPFLAGS = -DPIC
## Additional flags when building libraries and with threads
LIBCPPFLAGS = -D_REENTRANT
THREADSCPPFLAGS = -D_REENTRANT
LIBCPPFLAGS =
## Compiler switch to embed a runtime search path
LD_RPATH= -I

View file

@ -1,6 +1,6 @@
## -*-makefile-*-
## Cygwin/MinGW specific setup
## Copyright (c) 2001-2005, International Business Machines Corporation and
## Copyright (c) 2001-2006, International Business Machines Corporation and
## others. All Rights Reserved.
# TODO: Finish the rest of this port. This platform port is incomplete.
@ -29,8 +29,8 @@ SHAREDLIBCXXFLAGS =
SHAREDLIBCPPFLAGS = -DPIC
## Additional flags when building libraries and with threads
LIBCPPFLAGS = -D_REENTRANT
THREADSCPPFLAGS = -D_REENTRANT
LIBCPPFLAGS =
# Commands to link. Link with C++ in case static libraries are used.
LINK.c= $(CXX) $(CXXFLAGS) $(LDFLAGS)