gl/cocoa: Use OBJCFLAGS where needed
authorEdward Hervey <bilboed@bilboed.com>
Tue, 6 May 2014 10:56:25 +0000 (12:56 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 6 May 2014 10:57:36 +0000 (12:57 +0200)
Should fix usage of c-compiler-only flags with an objective-c compiler

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

index 9e6422adb707e224f7c19d4f2e65eaa5167e7562..b3740795b4ec0986373c82314d6d497c6714ee5c 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) \