[oe-commits] [meta-openembedded] 07/11: cpprest: Do not export Werror from build system instead of adding -Wno-error to the same build command

git at git.openembedded.org git at git.openembedded.org
Wed Jul 24 06:11:22 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit ccf2220ab2e718c89d5fb576772c3120b90f69b9
Author: Gianfranco Costamagna <costamagna.gianfranco at gmail.com>
AuthorDate: Tue Jul 23 09:59:38 2019 +0200

    cpprest: Do not export Werror from build system instead of adding -Wno-error to the same build command
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 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 c13a632..53f6469 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"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list