diff make/linux/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 45535ab90688
children 836a62f43af9 ce8969c36762
line wrap: on
line diff
--- a/make/linux/makefiles/adlc.make	Tue Jun 04 12:06:54 2013 -0700
+++ b/make/linux/makefiles/adlc.make	Tue Jun 04 22:16:15 2013 -0700
@@ -68,7 +68,7 @@
 
 # CFLAGS_WARN holds compiler options to suppress/enable warnings.
 # Compiler warnings are treated as errors
-CFLAGS_WARN = -Werror
+CFLAGS_WARN = $(WARNINGS_ARE_ERRORS)
 CFLAGS += $(CFLAGS_WARN)
 
 OBJECTNAMES = \