build: rollback -Wformat=2

Causes some build failures on Clang.

Fixes: 4b43aebdc7 ("build: add -Wformat=2 -Walloca")
This commit is contained in:
Simon Ser 2021-02-23 17:06:52 +01:00
parent 4b43aebdc7
commit 3695ae97b4

View file

@ -36,7 +36,6 @@ add_project_arguments(cc.get_supported_arguments([
'-Wstrict-aliasing=2', '-Wstrict-aliasing=2',
'-Woverflow', '-Woverflow',
'-Wmissing-prototypes', '-Wmissing-prototypes',
'-Wformat=2',
'-Walloca', '-Walloca',
'-Wno-missing-braces', '-Wno-missing-braces',