We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3051615 commit b25a308Copy full SHA for b25a308
1 file changed
depends/packages/libxkbcommon.mk
@@ -5,9 +5,14 @@ $(package)_file_name=$(package)-$($(package)_version).tar.xz
5
$(package)_sha256_hash=60ddcff932b7fd352752d51a5c4f04f3d0403230a584df9a2e0d5ed87c486c8b
6
$(package)_dependencies=libxcb
7
8
+# This package explicitly enables -Werror=array-bounds, which causes build failures
9
+# with GCC 12.1+. Work around that by turning errors back into warnings.
10
+# This workaround would be dropped if the package was updated, as that would require
11
+# a different build system (Meson)
12
define $(package)_set_vars
13
$(package)_config_opts = --enable-option-checking --disable-dependency-tracking
14
$(package)_config_opts += --disable-static --disable-docs
15
+$(package)_cflags += -Wno-error=array-bounds
16
endef
17
18
define $(package)_preprocess_cmds
0 commit comments