summaryrefslogtreecommitdiff
path: root/debian/patches/hotspot-disable-werror.diff
blob: 45f7e9c6258e106082d990fcea25933ad606fe89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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