mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 06:25:30 +00:00
ICU-5121 Improve usage of _REENTRANT
X-SVN-Rev: 19419
This commit is contained in:
parent
a6e0012c36
commit
3bc9b13a04
9 changed files with 17 additions and 13 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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=
|
||||
|
|
|
@ -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=
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue