mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 12:35:58 +00:00
Bugzilla bug #9155: use -library=iostream so that Sun Workshop
5.0 can work with old style iostreams. Thanks to Tim McNerney <mumbly@netcom.com> for suggesting this fix.
This commit is contained in:
parent
7486db5985
commit
25c2c67cd9
@ -25,6 +25,16 @@ include $(MOD_DEPTH)/config/config.mk
|
||||
ifeq ($(OS_ARCH),SunOS)
|
||||
ifeq ($(OS_RELEASE),4.1.3_U1)
|
||||
OPTIMIZER =
|
||||
else
|
||||
# The C++ compiler in Workshop 5.0 uses standard
|
||||
# iostreams as default. -library=iostream will
|
||||
# allow Workshop 5.0 to work with classic iostreams.
|
||||
ifndef NS_USE_GCC
|
||||
CCC_VERSION := $(shell $(CCC) -V 2>&1)
|
||||
ifneq (,$(findstring 5.0,$(CCC_VERSION)))
|
||||
CCC_ONLY_FLAGS += -library=iostream
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user