8144695: --disable-warnings-as-errors does not work for HotSpot build

Reviewed-by: kbarrett, ihse
This commit is contained in:
Igor Ignatyev 2015-12-17 16:12:58 +03:00
parent a4844cbbc3
commit be21417b06
5 changed files with 12 additions and 7 deletions

View file

@ -203,7 +203,7 @@ else
endif
# Compiler warnings are treated as errors
WARNINGS_ARE_ERRORS = -Werror
WARNINGS_ARE_ERRORS ?= -Werror
ifeq ($(USE_CLANG), true)
# However we need to clean the code up before we can unrestrictedly enable this option with Clang