hotspot/make/linux/makefiles/gcc.make
changeset 35948 df8ecc74bf4a
parent 34669 55788024bfaf
child 36194 d6b05b266581
--- a/hotspot/make/linux/makefiles/gcc.make	Mon Feb 08 18:54:09 2016 +0300
+++ b/hotspot/make/linux/makefiles/gcc.make	Thu Dec 17 16:12:58 2015 +0300
@@ -203,7 +203,7 @@
 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