equal
deleted
inserted
replaced
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. |