diff make/linux/makefiles/adlc.make @ 10408:836a62f43af9

Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/
author Doug Simon <doug.simon@oracle.com>
date Wed, 19 Jun 2013 10:45:56 +0200
parents e522a00b91aa 2cb5d5f6d5e5
children 3cce976666d9
line wrap: on
line diff
--- a/make/linux/makefiles/adlc.make	Tue Jun 18 14:23:29 2013 -0700
+++ b/make/linux/makefiles/adlc.make	Wed Jun 19 10:45:56 2013 +0200
@@ -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 = \