Bug 507978 test_deadlock_detector.cpp failed to compile on Solaris r=bsmedberg
authorGinn Chen <ginn.chen@sun.com>
Tue, 11 Aug 2009 14:56:58 +0800
changeset 31334 bf0ad45edc2989036b02fc0418975b82d8c18cfd
parent 31333 793b4c9e138ff3a0e1d847d0039af6d6cc164088
child 31335 b44f080762bf3ae060cb0fc0c3896f72354dc59a
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbsmedberg
bugs507978
milestone1.9.2a2pre
Bug 507978 test_deadlock_detector.cpp failed to compile on Solaris r=bsmedberg
storage/test/Makefile.in
--- a/storage/test/Makefile.in
+++ b/storage/test/Makefile.in
@@ -79,8 +79,12 @@ LOCAL_INCLUDES = \
 LIBS = \
 	$(LIBS_DIR) \
 	$(LIBXUL_DIST)/lib/$(LIB_PREFIX)xpcomglue_s.$(LIB_SUFFIX) \
 	$(MOZ_COMPONENT_LIBS) \
 	$(SQLITE_LIBS) \
 	$(NULL)
 
 include $(topsrcdir)/config/rules.mk
+
+ifdef SOLARIS_SUNPRO_CXX
+CXXFLAGS += -features=extensions -D__FUNCTION__=__func__
+endif