summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2019-05-25 13:36:40 +0200
committerTim-Philipp Müller <tim@centricular.com>2019-05-25 13:36:40 +0200
commit0bf5b537d6afd843794215000f8b6782990ee3c6 (patch)
tree12c749f180b6494255cb7d48c8bd33482b367c7b
parent2b50a0ce93c47946dc63fac9fa828814ed56b7ea (diff)
downloadgst-libav-0bf5b537d6afd843794215000f8b6782990ee3c6.tar.gz
configure: pass -Wno-attributes to fix build against broken ffmpeg headers
libavutil/mem.h:342:1: error: ‘alloc_size’ attribute ignored on a function returning ‘int’ av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size); ^~~~~~~~~~~~~ Hopefully fixes build on jenkins.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index f41d321..3027a44 100644
--- a/configure.ac
+++ b/configure.ac
@@ -165,7 +165,7 @@ AG_GST_SET_ERROR_CFLAGS($FATAL_WARNINGS, [
-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef
-Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition
-Winit-self -Wmissing-include-dirs -Waddress
- -Waggregate-return -Wno-multichar -Wnested-externs ])
+ -Waggregate-return -Wno-multichar -Wnested-externs -Wno-attributes])
dnl define correct level for debugging messages
AG_GST_SET_LEVEL_DEFAULT($GST_GIT)