Mercurial > hg > truffle
diff make/solaris/makefiles/adlc.make @ 828:b64314863098
Merge
author | kvn |
---|---|
date | Wed, 01 Jul 2009 15:06:54 -0700 |
parents | d1fe2c2fbdac |
children | d7f654633cfe |
line wrap: on
line diff
--- a/make/solaris/makefiles/adlc.make Tue Jun 30 10:40:31 2009 -0700 +++ b/make/solaris/makefiles/adlc.make Wed Jul 01 15:06:54 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")