20829N/Adiff --git a/xpcom/tests/Makefile.in b/xpcom/tests/Makefile.in
20829N/Aindex bb031c9..68a7b8e 100644
20829N/A--- a/xpcom/tests/Makefile.in
20829N/A+++ b/xpcom/tests/Makefile.in
20829N/A@@ -151,6 +151,12 @@
20829N/A # Make sure we have symbols in case we need to debug these.
20829N/A MOZ_DEBUG_SYMBOLS = 1
20829N/A
20829N/A+ifdef SOLARIS_SUNPRO_CXX
20829N/A+ifeq (sparc,$(findstring sparc,$(OS_TEST)))
20829N/A+MOZ_OPTIMIZE_FLAGS = -xO3
20829N/A+endif
20829N/A+endif
20829N/A+
20829N/A include $(topsrcdir)/config/rules.mk
20829N/A
20829N/A LOCAL_INCLUDES = \