Added -mt to compile line and link line of solaris compiler builds.

This commit is contained in:
Janet B. Anderson
2004-02-09 21:52:07 +00:00
parent b607b062ba
commit 4410805493
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ include $(CONFIG)/os/CONFIG.Common.UnixCommon
OS_CLASS = solaris
ARCH_CLASS = sparc
CODE_CPPFLAGS = -D__EXTENSIONS__
CODE_CPPFLAGS = -D__EXTENSIONS__ -mt
SOLARIS_VERSION = $(subst 5.,,$(shell uname -r))
@@ -23,7 +23,7 @@ POSIX_CPPFLAGS_YES_6 += -D_REENTRANT
POSIX_CPPFLAGS_YES += -D_POSIX_C_SOURCE=199506L $(POSIX_CPPFLAGS_YES_$(SOLARIS_VERSION))
POSIX_CPPFLAGS_YES += -D_XOPEN_SOURCE=500
POSIX_LDLIBS_YES_6 += -lthread
POSIX_LDLIBS_YES += -lposix4 -lpthread $(POSIX_LDLIBS_YES_$(SOLARIS_VERSION))
POSIX_LDLIBS_YES += -mt -lposix4 -lpthread $(POSIX_LDLIBS_YES_$(SOLARIS_VERSION))
OP_SYS_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION)
@@ -11,6 +11,8 @@
include $(CONFIG)/os/CONFIG.Common.solaris-sparc
# CONFIG.Common.solaris-sparc
CODE_CPPFLAGS = -D__EXTENSIONS__
OP_SYS_LDLIBS_8 = -lc
OP_SYS_LDLIBS_9 = -lc