abseil-cpp: Do not leak -Wnon-virtual-dtor into the .pc files

The -Wnon-virtual-dtor flag was unintentionally added to the .pc files,
which causes problems when abseil is used by C code:

  cc1: error: command-line option '-Wnon-virtual-dtor' is valid for
  C++/ObjC++ but not for C [-Werror]

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Peter Kjellerstedt
2024-12-13 18:31:17 +01:00
committed by Armin Kuster
parent 5d54a52fbe
commit 8dc3cdccb6
2 changed files with 31 additions and 0 deletions
@@ -14,6 +14,7 @@ SRC_URI = "git://github.com/abseil/abseil-cpp;branch=${BRANCH};protocol=https \
file://0002-Remove-maes-option-from-cross-compilation.patch \
file://0003-Remove-neon-option-from-cross-compilation.patch \
file://0004-abseil-ppc-fixes.patch \
file://0005-Don-t-match-Wnon-virtual-dtor-in-the-flags-are-neede.patch \
"
S = "${WORKDIR}/git"