configure: Only use XORG_TESTSET_CFLAG if defined
Repairs the build for f16 which has an older version of xorg-macros. Fortunately, as it doesn't define XORG_TESTSET_CFLAG it also doesn't use it generate noisy output. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
31b4110b51
commit
039a64e89e
|
|
@ -44,9 +44,11 @@ XORG_MACROS_VERSION(1.8)
|
|||
XORG_DEFAULT_OPTIONS
|
||||
|
||||
# And disable a few very noisy warnings
|
||||
m4_ifndef([XORG_TESTSET_CLAG], [
|
||||
XORG_TESTSET_CFLAG([NOWARNFLAGS], [-Wno-cast-qual])
|
||||
XORG_TESTSET_CFLAG([NOWARNFLAGS], [-Wno-redundant-decls])
|
||||
XORG_TESTSET_CFLAG([NOWARNFLAGS], [-Wno-maybe-uninitialized])
|
||||
])
|
||||
AC_SUBST(NOWARNFLAGS)
|
||||
|
||||
# Require X.Org server macros (i.e. XORG_DRIVER_CHECK_EXT) to check for required modules
|
||||
|
|
|
|||
Loading…
Reference in New Issue