From 441080549370b4fef82a67a0b67590c313a04865 Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Mon, 9 Feb 2004 21:52:07 +0000 Subject: [PATCH] Added -mt to compile line and link line of solaris compiler builds. --- configure/os/CONFIG.Common.solaris-sparc | 4 ++-- configure/os/CONFIG.Common.solaris-sparc-gnu | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configure/os/CONFIG.Common.solaris-sparc b/configure/os/CONFIG.Common.solaris-sparc index 7d4bdd798..e78206d60 100644 --- a/configure/os/CONFIG.Common.solaris-sparc +++ b/configure/os/CONFIG.Common.solaris-sparc @@ -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) diff --git a/configure/os/CONFIG.Common.solaris-sparc-gnu b/configure/os/CONFIG.Common.solaris-sparc-gnu index 697882f34..2be2fc3cc 100644 --- a/configure/os/CONFIG.Common.solaris-sparc-gnu +++ b/configure/os/CONFIG.Common.solaris-sparc-gnu @@ -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