summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2019-11-11 13:03:22 +0000
committerTim-Philipp Müller <tim@centricular.com>2019-11-11 13:09:29 +0000
commit91e4307272715585bd5b381ef76390e9329cc700 (patch)
tree9d957df08e8811184652dc81457cd4c9f99b218e /ext
parenta76d5ac806d6c86e95a59967bf534384f27508ba (diff)
downloadgstreamer-plugins-bad-91e4307272715585bd5b381ef76390e9329cc700.tar.gz
openexr: fix compilation with openexr >= 2.4.0 in autotools
Only pass -std=c++98 for openexr 2.3.x.
Diffstat (limited to 'ext')
-rw-r--r--ext/openexr/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openexr/Makefile.am b/ext/openexr/Makefile.am
index 1a95fee6b..d7a3e5b12 100644
--- a/ext/openexr/Makefile.am
+++ b/ext/openexr/Makefile.am
@@ -6,7 +6,7 @@ libgstopenexr_la_CFLAGS = \
$(OPENEXR_CFLAGS)
libgstopenexr_la_CXXFLAGS = \
$(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CXXFLAGS) \
- $(OPENEXR_CFLAGS) -std=c++98
+ $(OPENEXR_CFLAGS) $(OPENEXR_STDCFLAGS)
libgstopenexr_la_LIBADD = \
$(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) \
$(GST_BASE_LIBS) $(GST_LIBS) $(OPENEXR_LIBS)