# HG changeset patch # User twisti # Date 1245834585 25200 # Node ID e306d7c7222c1fe7c83fa04b51e24e1b9a4deb51 # Parent d1fe2c2fbdacf5c98a42f872beb7da36812fc6f8# Parent 915cc9c5ebc60f32f637ad875178d1d50871f746 Merge diff -r 915cc9c5ebc6 -r e306d7c7222c make/solaris/makefiles/adlc.make --- a/make/solaris/makefiles/adlc.make Tue Jun 23 17:52:29 2009 -0700 +++ b/make/solaris/makefiles/adlc.make Wed Jun 24 02:09:45 2009 -0700 @@ -68,7 +68,9 @@ # CFLAGS_WARN holds compiler options to suppress/enable warnings. # Compiler warnings are treated as errors -CFLAGS_WARN = +w -errwarn +ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1) + CFLAGS_WARN = +w -errwarn +endif CFLAGS += $(CFLAGS_WARN) ifeq ("${Platform_compiler}", "sparcWorks")