Mercurial > hg > truffle
comparison make/solaris/makefiles/adlc.make @ 828:b64314863098
Merge
author | kvn |
---|---|
date | Wed, 01 Jul 2009 15:06:54 -0700 |
parents | d1fe2c2fbdac |
children | d7f654633cfe |
comparison
equal
deleted
inserted
replaced
814:32c83fb84370 | 828:b64314863098 |
---|---|
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. |