diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-08-19 19:46:37 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-08-19 19:46:37 +0200 |
commit | 8147baaa25d586d4402455a5176edb192083a2ea (patch) | |
tree | efb401e85fa222be311a33702fd48919898a61e0 /package/openjdk/patches/remove-Werror.patch | |
parent | b6fed3d8f011df89e166b673a2bbee6d7bdee734 (diff) |
disable Werror in a single patch
Diffstat (limited to 'package/openjdk/patches/remove-Werror.patch')
-rw-r--r-- | package/openjdk/patches/remove-Werror.patch | 15 |
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 |