From fe65b6b9c8108e4ce5f7cc6216b9b7c3b0548f19 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Wed, 23 Apr 2014 15:02:49 +0000 Subject: Work around -Werror build failure with GCC 4.7.3 on x86_32 Add morphology, which will disable the -Werror flag. Issue reported upstream: https://code.google.com/p/distcc/issues/detail?id=142 --- distcc.morph | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 distcc.morph diff --git a/distcc.morph b/distcc.morph new file mode 100644 index 0000000..162c1cb --- /dev/null +++ b/distcc.morph @@ -0,0 +1,12 @@ +name: distcc +kind: chunk +build-system: autotools +configure-commands: + - NOCONFIGURE=1 ./autogen.sh + # We must disable -Werror because there are two warnings in the 32-bit build. + # These are inside the lzo/minilzo.c code. They do not appear to be fixed in + # distcc master as of April 2014. The code in question appears in an intense + # battle with C's type system, I don't see any clear way to resolve it. I + # have reported this upstream: + # https://code.google.com/p/distcc/issues/detail?id=142 + - ./configure --prefix="$PREFIX" --disable-Werror -- cgit v1.2.1