aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-printing
diff options
context:
space:
mode:
authorMarkus Volk <f_l_k@t-online.de>2023-11-11 23:18:48 +0100
committerKhem Raj <raj.khem@gmail.com>2023-11-11 15:41:43 -0800
commitba28b8f98713fb5b009ccbf8f12a0638598444cb (patch)
tree778f2e40535f57e72260e522868b44f820dbfd52 /meta-oe/recipes-printing
parent1bdab916b1fd70ce9196aedac319df5dd8b6dd15 (diff)
downloadmeta-openembedded-contrib-ba28b8f98713fb5b009ccbf8f12a0638598444cb.tar.gz
cups-filters: Fix for current gcc
std::string_view is part of c++17 This fixes: error: 'std::string_view' has not been declared Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-printing')
-rw-r--r--meta-oe/recipes-printing/cups/cups-filters_1.28.17.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-printing/cups/cups-filters_1.28.17.bb b/meta-oe/recipes-printing/cups/cups-filters_1.28.17.bb
index 01c29d2c97..dc527bf721 100644
--- a/meta-oe/recipes-printing/cups/cups-filters_1.28.17.bb
+++ b/meta-oe/recipes-printing/cups/cups-filters_1.28.17.bb
@@ -30,6 +30,8 @@ EXTRA_OECONF:class-native += " --with-pdftops=pdftops \
--disable-ldap \
--with-png --without-jpeg --without-tiff"
+CXXFLAGS += "-std=c++17"
+
PACKAGECONFIG[jpeg] = "--with-jpeg,--without-jpeg,jpeg"
PACKAGECONFIG[png] = "--with-png,--without-png,libpng"
PACKAGECONFIG[tiff] = "--with-tiff,--without-tiff,tiff"