summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-02-20 13:32:58 (GMT)
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-02-20 13:32:58 (GMT)
commitf21d558266412551d05cd56339d779456bde6199 (patch)
tree41f278097c7642c47c4f4955537cca545219b1ea
parent4f06d97c6d93c9c1b032ad1f24e7c2e0ca00cbed (diff)
downloaddefinitions-baserock/sam/fix-diff-build.tar.gz
Disable extra GCC warnings for GNU Diffbaserock/sam/fix-diff-build
These are enabled based on the presence of a .git directory in the source tree by diff's configure.ac script. It includes the dreaded -Werror. This fixes the build on armv7lhf.
-rw-r--r--strata/coreutils-common/diff.morph2
1 files changed, 1 insertions, 1 deletions
diff --git a/strata/coreutils-common/diff.morph b/strata/coreutils-common/diff.morph
index 3a05af2..346f863 100644
--- a/strata/coreutils-common/diff.morph
+++ b/strata/coreutils-common/diff.morph
@@ -4,4 +4,4 @@ build-system: autotools
configure-commands:
- sed -i -e '/^buildreq="/,/^"/{/rsync/d}' bootstrap.conf
- ./bootstrap --skip-po
-- ./configure --prefix="$PREFIX"
+- ./configure --prefix="$PREFIX" --disable-gcc-warnings