qt: The code requires at least C++11
authorSebastian Dröge <sebastian@centricular.com>
Wed, 25 Jan 2017 17:21:03 +0000 (19:21 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 25 Jan 2017 17:21:03 +0000 (19:21 +0200)
... and clang requires this to be specified on the commandline while gcc
nowadays defaults to C++11 or even newer.

ext/qt/Makefile.am

index b8bd5d4..626e3a8 100644 (file)
@@ -38,7 +38,7 @@ libgstqmlgl_la_CXXFLAGS = \
        $(GST_BASE_CFLAGS) \
        $(GST_PLUGINS_BASE_CFLAGS) \
        $(QT_CFLAGS) \
-       $(GL_CFLAGS)
+       $(GL_CFLAGS) -std=c++11
 
 libgstqmlgl_la_LIBADD = \
        $(GST_BASE_LIBS) \