From 88fec19ba2b3be19f1f4861389daa8c87d38b14d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 25 May 2018 19:49:34 +0100 Subject: [PATCH] directfb: don't error out for warnings in system headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On debian system headers trigger compiler warnings like these, don't error out on them: /usr/include/directfb/direct/os/linux/glibc/waitqueue.h:95:1: note: previous definition of ‘direct_waitqueue_signal’ was here --- ext/directfb/Makefile.am | 2 ++ tests/examples/directfb/Makefile.am | 3 +++ 2 files changed, 5 insertions(+) diff --git a/ext/directfb/Makefile.am b/ext/directfb/Makefile.am index bb7c8f9d57..a32ab04c09 100644 --- a/ext/directfb/Makefile.am +++ b/ext/directfb/Makefile.am @@ -1,3 +1,5 @@ +# directfb headers on debian will trigger redundant redeclaration warnings +ERROR_CFLAGS= plugin_LTLIBRARIES = libgstdfbvideosink.la diff --git a/tests/examples/directfb/Makefile.am b/tests/examples/directfb/Makefile.am index 09342f6605..6985879842 100644 --- a/tests/examples/directfb/Makefile.am +++ b/tests/examples/directfb/Makefile.am @@ -1,3 +1,6 @@ +# directfb headers on debian will trigger redundant redeclaration warnings +ERROR_CFLAGS= + noinst_PROGRAMS = gstdfb gstdfb_SOURCES = gstdfb.c