diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-04-23 15:02:49 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-04-25 07:55:07 +0000 |
commit | fe65b6b9c8108e4ce5f7cc6216b9b7c3b0548f19 (patch) | |
tree | 704f0ca70e81cef02f1338a80a1a8e132230dfab | |
parent | 2f422c03925e82bf88b05da823813073a985b0e5 (diff) | |
download | distcc-fe65b6b9c8108e4ce5f7cc6216b9b7c3b0548f19.tar.gz |
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
-rw-r--r-- | distcc.morph | 12 |
1 files changed, 12 insertions, 0 deletions
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 |