summaryrefslogtreecommitdiff
path: root/debian/patches/hotspot-disable-werror.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/hotspot-disable-werror.diff')
-rw-r--r--debian/patches/hotspot-disable-werror.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/hotspot-disable-werror.diff b/debian/patches/hotspot-disable-werror.diff
new file mode 100644
index 0000000..45f7e9c
--- /dev/null
+++ b/debian/patches/hotspot-disable-werror.diff
@@ -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
+@@ -198,7 +198,7 @@ else
+ endif
+
+ # Compiler warnings are treated as errors
+-WARNINGS_ARE_ERRORS = -Werror -Wno-error=format -Wno-error=deprecated
++WARNINGS_ARE_ERRORS =
+
+ ifeq ($(USE_CLANG), true)
+ # However we need to clean the code up before we can unrestrictedly enable this option with Clang