diff --git a/configure/os/CONFIG.Common.solaris-sparc b/configure/os/CONFIG.Common.solaris-sparc index e78206d60..830a8b984 100644 --- a/configure/os/CONFIG.Common.solaris-sparc +++ b/configure/os/CONFIG.Common.solaris-sparc @@ -13,7 +13,10 @@ include $(CONFIG)/os/CONFIG.Common.UnixCommon OS_CLASS = solaris ARCH_CLASS = sparc -CODE_CPPFLAGS = -D__EXTENSIONS__ -mt +CODE_CPPFLAGS = -D__EXTENSIONS__ + +COMPILER_CPPFLAGS += -mt +COMPILER_LDFLAGS += -mt SOLARIS_VERSION = $(subst 5.,,$(shell uname -r)) @@ -23,9 +26,10 @@ 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 += -mt -lposix4 -lpthread $(POSIX_LDLIBS_YES_$(SOLARIS_VERSION)) +POSIX_LDLIBS_YES += -lposix4 -lpthread $(POSIX_LDLIBS_YES_$(SOLARIS_VERSION)) -OP_SYS_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION) +OP_SYS_CPPFLAGS += -DSOLARIS=$(SOLARIS_VERSION) $(COMPILER_CPPFLAGS) +OP_SYS_LDFLAGS += $(COMPILER_LDFLAGS) # Set runtime path for shared libraries RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_DIRS:%=-R%)