From 3a4dfcce5de01f001ba29db5879752ec8e5acf87 Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Tue, 2 Jul 2019 19:35:31 +0300 Subject: cpprest: Fix build failure with gcc 8 The workaround for gcc 9 broke building with gcc 8: cc1plus: error: -Werror=deprecated-copy: no option -Wdeprecated-copy cc1plus: error: -Werror=redundant-move: no option -Wredundant-move ninja: build stopped: subcommand failed. -Werror is often problematic in distribution builds, disable it globally and permanently. Signed-off-by: Adrian Bunk Signed-off-by: Khem Raj --- meta-oe/recipes-support/cpprest/cpprest_2.10.13.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'meta-oe/recipes-support/cpprest') diff --git a/meta-oe/recipes-support/cpprest/cpprest_2.10.13.bb b/meta-oe/recipes-support/cpprest/cpprest_2.10.13.bb index 0704512110..3e42a002ef 100644 --- a/meta-oe/recipes-support/cpprest/cpprest_2.10.13.bb +++ b/meta-oe/recipes-support/cpprest/cpprest_2.10.13.bb @@ -18,6 +18,4 @@ S = "${WORKDIR}/git" inherit cmake pkgconfig -# Temporary until https://github.com/Microsoft/cpprestsdk/issues/1099 -# is fixed properly -CXXFLAGS += "-Wno-error=deprecated-copy -Wno-error=redundant-move" +CXXFLAGS += "-Wno-error" -- cgit 1.2.3-korg