From 8147baaa25d586d4402455a5176edb192083a2ea Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 19 Aug 2011 19:46:37 +0200 Subject: disable Werror in a single patch --- package/openjdk/patches/remove-Werror.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 package/openjdk/patches/remove-Werror.patch (limited to 'package/openjdk/patches') 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 -- cgit v1.2.3