Mercurial > hg > truffle
diff make/bsd/makefiles/adlc.make @ 10398:2cb5d5f6d5e5
8015252: Enable HotSpot build with Clang
Reviewed-by: twisti, dholmes, kvn
author | simonis |
---|---|
date | Tue, 04 Jun 2013 22:16:15 -0700 |
parents | b9a9ed0f8eeb |
children | ce8969c36762 |
line wrap: on
line diff
--- a/make/bsd/makefiles/adlc.make Tue Jun 04 12:06:54 2013 -0700 +++ b/make/bsd/makefiles/adlc.make Tue Jun 04 22:16:15 2013 -0700 @@ -69,7 +69,7 @@ # CFLAGS_WARN holds compiler options to suppress/enable warnings. # Compiler warnings are treated as errors ifneq ($(COMPILER_WARNINGS_FATAL),false) - CFLAGS_WARN = -Werror + CFLAGS_WARN = $(WARNINGS_ARE_ERRORS) endif CFLAGS += $(CFLAGS_WARN)