[vlc-devel] [PATCH 1/2] codec/videotoolbox: Use OBJCFLAGS instead of CFLAGS

Marvin Scholz epirat07 at gmail.com
Mon Oct 23 18:29:05 CEST 2017


This is an Objective C module, therefore it should use OBJCFLAGS instead
of CFLAGS.
---
 modules/codec/Makefile.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/codec/Makefile.am b/modules/codec/Makefile.am
index 38a4f3f959..9a3ffbd232 100644
--- a/modules/codec/Makefile.am
+++ b/modules/codec/Makefile.am
@@ -326,13 +326,13 @@ libvideotoolbox_plugin_la_SOURCES = video_chroma/copy.c video_chroma/copy.h \
 	packetizer/h264_nal.c packetizer/h264_nal.h \
 	packetizer/hevc_nal.c packetizer/hevc_nal.h
 if HAVE_OSX
-libvideotoolbox_plugin_la_OBJCFLAGS = $(AM_CFLAGS) -mmacosx-version-min=10.8
+libvideotoolbox_plugin_la_OBJCFLAGS = $(AM_OBJCFLAGS) -mmacosx-version-min=10.8
 endif
 if HAVE_IOS
-libvideotoolbox_plugin_la_OBJCFLAGS = $(AM_CFLAGS) -miphoneos-version-min=8.0
+libvideotoolbox_plugin_la_OBJCFLAGS = $(AM_OBJCFLAGS) -miphoneos-version-min=8.0
 endif
 if HAVE_TVOS
-libvideotoolbox_plugin_la_OBJCFLAGS = $(AM_CFLAGS) -mtvos-version-min=10.2
+libvideotoolbox_plugin_la_OBJCFLAGS = $(AM_OBJCFLAGS) -mtvos-version-min=10.2
 endif
 libvideotoolbox_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(codecdir)' -Wl,-framework,Foundation -Wl,-framework,VideoToolbox -Wl,-framework,CoreMedia -Wl,-framework,CoreVideo
 EXTRA_LTLIBRARIES += libvideotoolbox_plugin.la
-- 
2.13.5 (Apple Git-94)



More information about the vlc-devel mailing list