gl/cocoa: Use OBJCFLAGS where needed
authorEdward Hervey <bilboed@bilboed.com>
Tue, 6 May 2014 10:56:25 +0000 (12:56 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:39 +0000 (19:31 +0000)
Should fix usage of c-compiler-only flags with an objective-c compiler

gst-libs/gst/gl/cocoa/Makefile.am

index 9e6422a..b374079 100644 (file)
@@ -22,11 +22,10 @@ libgstgl_cocoa_la_CFLAGS = \
 libgstgl_cocoa_la_OBJCFLAGS = \
        -I$(top_srcdir)/gst-libs \
        -I$(top_builddir)/gst-libs \
-       $(GL_CFLAGS) \
        $(GL_OBJCFLAGS) \
        $(GST_PLUGINS_BASE_CFLAGS) \
        $(GST_BASE_CFLAGS) \
-       $(GST_CFLAGS)
+       $(GST_OBJCFLAGS)
 
 libgstgl_cocoa_la_LDFLAGS = \
        $(GST_LIB_LDFLAGS) \