nnstreamer: Fix build break with cpp17 patch [YOCIMX-7756]

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
This commit is contained in:
Tom Hochstein 2024-05-02 13:55:59 -05:00
parent e7d31783f5
commit 9327288e26
2 changed files with 28 additions and 3 deletions

View File

@ -0,0 +1,26 @@
From 4e5cd19246966c61bfa6ef3d203a048e0dcbb7f3 Mon Sep 17 00:00:00 2001
From: Nicolas <nicolas.goueslain@nxp.com>
Date: Thu, 2 May 2024 10:33:32 +0200
Subject: [PATCH] [PATCH] increase to cpp17 version
Upstream-Status: Pending
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index de26b948..fdd4267a 100644
--- a/meson.build
+++ b/meson.build
@@ -9,7 +9,7 @@ project('nnstreamer', 'c', 'cpp',
'werror=true',
'warning_level=2',
'c_std=gnu89',
- 'cpp_std=c++14'
+ 'cpp_std=c++17'
]
)
--
2.25.1

View File

@ -19,9 +19,8 @@ DEPENDS = "\
"
SRCREV = "f82789170b8f2696e50cbc5027b74b767f5e9415"
SRC_URI = "\
git://github.com/nnstreamer/nnstreamer.git;branch=main;protocol=https \
"
SRC_URI = "git://github.com/nnstreamer/nnstreamer.git;branch=main;protocol=https \
file://0001-PATCH-increase-to-cpp17-version.patch"
# Use git instead of quilt as patch tool to support patches with binary content
PATCHTOOL = "git"