< prev index next >
make/solaris/makefiles/gcc.make
Print this page
rev 10160 : 8144695: --disable-warnings-as-errors does not work for HotSpot build
Reviewed-by: duke
@@ -115,11 +115,11 @@
CFLAGS += -pipe
endif
# Compiler warnings are treated as errors
-WARNINGS_ARE_ERRORS = -Werror
+WARNINGS_ARE_ERRORS ?= -Werror
# Enable these warnings. See 'info gcc' about details on these options
WARNING_FLAGS = -Wpointer-arith -Wconversion -Wsign-compare -Wundef -Wformat=2
CFLAGS_WARN/DEFAULT = $(WARNINGS_ARE_ERRORS) $(WARNING_FLAGS)
< prev index next >