summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2015-08-08 12:21:34 +0200
committerAlfred E. Heggestad <aeh@db.org>2015-08-08 12:21:34 +0200
commitebac23b0692de71ee4c3a436f0372013150c937f (patch)
tree0b9cb72a010bd5fdd940e16a6dc1f1741e3c5486
parent14b7e04d8c0611a935cd6ad68c390e4c5a6512b6 (diff)
gst1/gst_video1: add -Wno-cast-align to CFLAGS to avoid clang warnings
-rw-r--r--modules/gst1/module.mk1
-rw-r--r--modules/gst_video1/module.mk1
2 files changed, 2 insertions, 0 deletions
diff --git a/modules/gst1/module.mk b/modules/gst1/module.mk
index bd66452..e79a9b7 100644
--- a/modules/gst1/module.mk
+++ b/modules/gst1/module.mk
@@ -8,5 +8,6 @@ MOD := gst1
$(MOD)_SRCS += gst.c
$(MOD)_LFLAGS += `pkg-config --libs gstreamer-1.0`
$(MOD)_CFLAGS += `pkg-config --cflags gstreamer-1.0`
+$(MOD)_CFLAGS += -Wno-cast-align
include mk/mod.mk
diff --git a/modules/gst_video1/module.mk b/modules/gst_video1/module.mk
index b29fd7e..006ce93 100644
--- a/modules/gst_video1/module.mk
+++ b/modules/gst_video1/module.mk
@@ -8,5 +8,6 @@ MOD := gst_video1
$(MOD)_SRCS += gst_video.c h264.c encode.c sdp.c
$(MOD)_LFLAGS += `pkg-config --libs gstreamer-1.0 gstreamer-app-1.0`
$(MOD)_CFLAGS += `pkg-config --cflags gstreamer-1.0 gstreamer-app-1.0`
+$(MOD)_CFLAGS += -Wno-cast-align
include mk/mod.mk