From ba28b8f98713fb5b009ccbf8f12a0638598444cb Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Sat, 11 Nov 2023 23:18:48 +0100 Subject: [PATCH] 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 Signed-off-by: Khem Raj --- meta-oe/recipes-printing/cups/cups-filters_1.28.17.bb | 2 ++ 1 file changed, 2 insertions(+) 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"