ICU-4154 Fixes for IRIX. Add pthread safety.

X-SVN-Rev: 16848
This commit is contained in:
George Rhoten 2004-11-13 00:01:27 +00:00
parent ca462b2c99
commit 44db2a42bc

View File

@ -23,6 +23,10 @@ LINK.cc= $(CXX) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS)
SHLIB.c= $(CC) -shared $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) SHLIB.c= $(CC) -shared $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS)
SHLIB.cc= $(CXX) -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
## Compiler switch to embed a runtime search path ## Compiler switch to embed a runtime search path
LD_RPATH= LD_RPATH=
LD_RPATH_PRE= -Wl,-rpath, LD_RPATH_PRE= -Wl,-rpath,