Mercurial > hg > graal-jvmci-8
comparison make/solaris/makefiles/adlc.make @ 821:d1fe2c2fbdac
6851829: solaris build fails with 5.8 compilers
Summary: Solaris builds with the CC 5.8 compilers (used for jdk6 update builds) fail while compiling adlc.
Reviewed-by: never
author | twisti |
---|---|
date | Wed, 17 Jun 2009 09:08:56 -0700 |
parents | 7bb995fbd3c0 |
children | d7f654633cfe |
comparison
equal
deleted
inserted
replaced
819:c6386080541b | 821:d1fe2c2fbdac |
---|---|
66 LFLAGS += -library=Cstd -g | 66 LFLAGS += -library=Cstd -g |
67 endif | 67 endif |
68 | 68 |
69 # CFLAGS_WARN holds compiler options to suppress/enable warnings. | 69 # CFLAGS_WARN holds compiler options to suppress/enable warnings. |
70 # Compiler warnings are treated as errors | 70 # Compiler warnings are treated as errors |
71 CFLAGS_WARN = +w -errwarn | 71 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1) |
72 CFLAGS_WARN = +w -errwarn | |
73 endif | |
72 CFLAGS += $(CFLAGS_WARN) | 74 CFLAGS += $(CFLAGS_WARN) |
73 | 75 |
74 ifeq ("${Platform_compiler}", "sparcWorks") | 76 ifeq ("${Platform_compiler}", "sparcWorks") |
75 # Enable the following CFLAGS addition if you need to compare the | 77 # Enable the following CFLAGS addition if you need to compare the |
76 # built ELF objects. | 78 # built ELF objects. |