mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-05-18 22:56:15 +00:00
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 <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
4e6eb595c0
commit
3a4dfcce5d
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user