From ccf2220ab2e718c89d5fb576772c3120b90f69b9 Mon Sep 17 00:00:00 2001 From: Gianfranco Costamagna Date: Tue, 23 Jul 2019 09:59:38 +0200 Subject: cpprest: Do not export Werror from build system instead of adding -Wno-error to the same build command Signed-off-by: Khem Raj --- meta-oe/recipes-support/cpprest/cpprest_2.10.14.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meta-oe/recipes-support/cpprest/cpprest_2.10.14.bb b/meta-oe/recipes-support/cpprest/cpprest_2.10.14.bb index c13a632cf8..53f6469b28 100644 --- a/meta-oe/recipes-support/cpprest/cpprest_2.10.14.bb +++ b/meta-oe/recipes-support/cpprest/cpprest_2.10.14.bb @@ -5,7 +5,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${S}/license.txt;md5=a2e15b954769218ff912468eecd6a02f" DEPENDS = "openssl websocketpp zlib boost brotli" -EXTRA_OECMAKE = "-DCPPREST_EXPORT_DIR=cmake -DCPPREST_EXCLUDE_BROTLI=OFF" +EXTRA_OECMAKE = "-DCPPREST_EXPORT_DIR=cmake -DCPPREST_EXCLUDE_BROTLI=OFF -DWERROR=OFF" SRC_URI = "git://github.com/Microsoft/cpprestsdk.git;protocol=https;branch=master \ file://disable-float-tests.patch \ @@ -17,5 +17,3 @@ SRCREV= "6f602bee67b088a299d7901534af3bce6334ab38" S = "${WORKDIR}/git" inherit cmake pkgconfig - -CXXFLAGS += "-Wno-error" -- cgit 1.2.3-korg