diff options
author | Jan Schmidt <jan@centricular.com> | 2017-12-09 02:55:55 +1100 |
---|---|---|
committer | Jan Schmidt <jan@centricular.com> | 2017-12-09 02:55:55 +1100 |
commit | 24b4f6fe9219f7ce4171d4b21ada230ea4aa0b73 (patch) | |
tree | 617ef7005e28f9151f153c62b10bff5980a92b94 | |
parent | 532f791ec82f22e2b8ad80b52df561f33c731b83 (diff) |
build-tools/m4: Use --disable-gcc-warnings instead of -Wno-error1.12.4
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.
-rw-r--r-- | recipes/build-tools/m4.recipe | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes/build-tools/m4.recipe b/recipes/build-tools/m4.recipe index 99d8c542..21e81e1a 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" |