diff options
author | Dave Airlie <airlied@redhat.com> | 2016-02-10 12:45:35 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2016-02-10 12:45:35 +1000 |
commit | e6f59bdd04c94fbc36cb4b8bd3eaa3e601b23596 (patch) | |
tree | cffcd34073e049a7fd07f08859212602e17b3d13 | |
parent | 7026fde02f34d8de5251e0967a49e2b6a1ddcabe (diff) |
enable warnings from XORG macros.warnings
This makes us a lot of warnings, but should be used
instead of removing the macros.
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 53d9ef4..e42c18b 100644 --- a/configure.ac +++ b/configure.ac @@ -82,6 +82,8 @@ AM_CONDITIONAL(BUILD_TESTS, [test "x$build_tests" = "xyes"]) XORG_MACROS_VERSION(1.8) XORG_DEFAULT_OPTIONS +CFLAGS="$CFLAGS $CWARNFLAGS" + LIBDRM_REQUIRED=2.4.50 PKG_CHECK_MODULES([LIBDRM], [libdrm >= $LIBDRM_REQUIRED]) |