summaryrefslogtreecommitdiff
path: root/recipes/build-tools
diff options
context:
space:
mode:
authorJan Schmidt <jan@centricular.com>2017-12-09 02:55:55 +1100
committerJan Schmidt <jan@centricular.com>2017-12-09 02:58:18 +1100
commitd0e43d5a5ab0c71835c01ff0ab8c81d9634a0cac (patch)
tree57e18817dac40dddab8f51ad18bfdb1a3443a93a /recipes/build-tools
parent48b1bbff8545977c3734ce0e63e384b657a78723 (diff)
build-tools/m4: Use --disable-gcc-warnings instead of -Wno-error
mingW doesn't support the implicit-fallthrough warning, so errors out. Instead, we should just compile m4 without any warnings. It's a release tarball after all.
Diffstat (limited to 'recipes/build-tools')
-rw-r--r--recipes/build-tools/m4.recipe3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes/build-tools/m4.recipe b/recipes/build-tools/m4.recipe
index b4d21881..678f14a8 100644
--- a/recipes/build-tools/m4.recipe
+++ b/recipes/build-tools/m4.recipe
@@ -12,4 +12,5 @@ class Recipe(recipe.Recipe):
patches = ['m4/0001-Fix-build-invalid-instruction-on-macOS-10.13.patch']
def prepare(self):
- self.append_env['CFLAGS'] = " -Wno-error=cast-align -Wno-error=implicit-fallthrough"
+ self.configure_options += " --disable-gcc-warnings"
+ self.append_env['CFLAGS'] = " -Wno-error=cast-align"