summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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"