Mercurial > hg > graal-compiler
changeset 822:e306d7c7222c
Merge
author | twisti |
---|---|
date | Wed, 24 Jun 2009 02:09:45 -0700 |
parents | d1fe2c2fbdac (diff) 915cc9c5ebc6 (current diff) |
children | 14367225a853 |
files | |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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")