Commit 24b4f6fe authored by Jan Schmidt's avatar Jan Schmidt
Browse files

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.
parent 532f791e
...@@ -12,4 +12,5 @@ class Recipe(recipe.Recipe): ...@@ -12,4 +12,5 @@ class Recipe(recipe.Recipe):
patches = ['m4/0001-Fix-build-invalid-instruction-on-macOS-10.13.patch'] patches = ['m4/0001-Fix-build-invalid-instruction-on-macOS-10.13.patch']
def prepare(self): 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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment