]> git.pld-linux.org Git - packages/openjdk8.git/blobdiff - hotspot-disable-werror.patch
disable -Werror in hotspot
[packages/openjdk8.git] / hotspot-disable-werror.patch
diff --git a/hotspot-disable-werror.patch b/hotspot-disable-werror.patch
new file mode 100644 (file)
index 0000000..bd79aa1
--- /dev/null
@@ -0,0 +1,13 @@
+# DP: Turn off -Werror for hotspot, overwrites -fpermissive.
+
+--- a/hotspot/make/linux/makefiles/gcc.make
++++ b/hotspot/make/linux/makefiles/gcc.make
+@@ -202,7 +202,7 @@ else
+ endif
+ # Compiler warnings are treated as errors
+-WARNINGS_ARE_ERRORS = -Werror
++WARNINGS_ARE_ERRORS = 
+ ifeq ($(USE_CLANG), true)
+   # However we need to clean the code up before we can unrestrictedly enable this option with Clang
This page took 0.251899 seconds and 4 git commands to generate.