diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-01-16 14:28:07 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-01-16 14:32:09 -0800 |
commit | bc4fa3b99e979bb1ad63812bc53ff0979c8baac4 (patch) | |
tree | 4ddadb6a9145a91a59119ac13c8ba7e8f1dc9a01 | |
parent | 293a6b927b032ed96fc611f04bad1bb9ab903dd7 (diff) |
Silence some standard X.Org warnings that cause too much noise
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 9cc70bb..1610463 100644 --- a/configure.ac +++ b/configure.ac @@ -39,6 +39,12 @@ m4_ifndef([XORG_MACROS_VERSION], XORG_MACROS_VERSION(1.8) XORG_DEFAULT_OPTIONS +# Disable some of the warnings xorg-macros.m4 sets by default that cause +# too much noise here +XORG_TESTSET_CFLAG([BASE_CFLAGS], [-Wno-declaration-after-statement]) +XORG_TESTSET_CFLAG([BASE_CFLAGS], [-Wno-unused-but-set-variable]) +XORG_TESTSET_CFLAG([BASE_CFLAGS], [-Wno-unused-value]) + # Initialize libtool LT_INIT([disable-static]) |