ICU-3127 Only use the -mt flag when threads are enabled.

X-SVN-Rev: 12670
This commit is contained in:
George Rhoten 2003-07-24 16:49:45 +00:00
parent c78d5ede6d
commit 93469662b8

View file

@ -3,7 +3,7 @@
## Copyright (c) 1999-2000, International Business Machines Corporation and
## others. All Rights Reserved.
##
## $Id: mh-solaris,v 1.30 2002/07/30 02:46:10 grhoten-oss Exp $
## $Id: mh-solaris,v 1.31 2003/07/24 16:49:45 grhoten-oss Exp $
## Flags for position independent code
SHAREDLIBCFLAGS = -KPIC
@ -18,8 +18,8 @@ GEN_DEPS.cc= $(CXX) -xM $(DEFS) $(CPPFLAGS)
CPPFLAGS += -libmil
# -mt means 'compiles and links a multithreaded program'
CFLAGS += -mt
CXXFLAGS += -mt
THREADSCFLAGS += -mt
THREADSCXXFLAGS += -mt
## Commands to link
## For Sun Workshop, use CC to link to bring in C++ runtime