Files
meta-openembedded/meta-oe/recipes-extended/rsyslog/librelp_1.11.0.bb
Randy MacLeod ca10312c4c librelp: make inline errors be warnings in debug build
With DEBUG_BUILD = "1", the following error occurs:

   src/relpsess.c:95:1: error:
      inlining failed in call to 'relpSessFreePermittedPeers': function not considered for inlining [-Werror=inline]

so use the compiler flag '-Wno-error=inline' for DEBUG_OPTIMIZATION only.

Tracked by upstream bug: https://github.com/rsyslog/librelp/issues/256
but it's looking like a toolchain bug.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-01 18:10:35 -08:00

21 lines
475 B
BlitzBasic

SUMMARY = "A reliable logging library"
HOMEPAGE = "https://github.com/rsyslog/librelp"
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=1fb9c10ed9fd6826757615455ca893a9"
DEPENDS = "gmp nettle libidn zlib gnutls openssl"
SRC_URI = "git://github.com/rsyslog/librelp.git;protocol=https;branch=stable \
"
SRCREV = "b421f56d9ee31a966058d23bd23c966221c91396"
S = "${WORKDIR}/git"
inherit autotools pkgconfig
DEBUG_OPTIMIZATION:append = " -Wno-error=inline"