summaryrefslogtreecommitdiff
path: root/package/openjdk/patches/remove-Werror.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-08-22 06:26:27 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-08-22 06:26:27 +0200
commit90f063cdaa362277b19eac3d3e3ebeb6227b4da3 (patch)
tree58f05de6554dd97a6afffada929aa5402dab2117 /package/openjdk/patches/remove-Werror.patch
parentf41e4877defd5be85457121c5fd9b923a943d8ed (diff)
parent432ae1a94f4d543da3aa2ed226cd3c00e350e3c4 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/openjdk/patches/remove-Werror.patch')
-rw-r--r--package/openjdk/patches/remove-Werror.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/openjdk/patches/remove-Werror.patch b/package/openjdk/patches/remove-Werror.patch
new file mode 100644
index 000000000..445165781
--- /dev/null
+++ b/package/openjdk/patches/remove-Werror.patch
@@ -0,0 +1,15 @@
+
+ disable -Werror
+
+--- w-openjdk-6.orig/openjdk-6/hotspot/make/linux/makefiles/gcc.make 2011-02-28 17:03:13.000000000 +0100
++++ w-openjdk-6/openjdk-6/hotspot/make/linux/makefiles/gcc.make 2011-08-19 18:18:55.997423368 +0200
+@@ -108,9 +108,6 @@
+ CFLAGS += -pipe
+ endif
+
+-# Compiler warnings are treated as errors
+-WARNINGS_ARE_ERRORS = -Werror
+-
+ # Except for a few acceptable ones
+ # Since GCC 4.3, -Wconversion has changed its meanings to warn these implicit
+ # conversions which might affect the values. To avoid that, we need to turn