summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy MacLeod <Randy.MacLeod@windriver.com>2023-03-01 16:24:27 -0800
committerKhem Raj <raj.khem@gmail.com>2023-03-01 18:10:35 -0800
commitca10312c4c7e88d67f4b487ae9afcbfdf92898d6 (patch)
tree89fe9bc58dfdadd7aacf14eefc87bc768d739355
parent35df0b606e1adc0db58dfe8088d0ba5cab2f3df6 (diff)
downloadmeta-openembedded-ca10312c4c7e88d67f4b487ae9afcbfdf92898d6.tar.gz
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>
-rw-r--r--meta-oe/recipes-extended/rsyslog/librelp_1.11.0.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/rsyslog/librelp_1.11.0.bb b/meta-oe/recipes-extended/rsyslog/librelp_1.11.0.bb
index da3e9a1377..e7b79ad03f 100644
--- a/meta-oe/recipes-extended/rsyslog/librelp_1.11.0.bb
+++ b/meta-oe/recipes-extended/rsyslog/librelp_1.11.0.bb
@@ -14,3 +14,7 @@ SRCREV = "b421f56d9ee31a966058d23bd23c966221c91396"
14S = "${WORKDIR}/git" 14S = "${WORKDIR}/git"
15 15
16inherit autotools pkgconfig 16inherit autotools pkgconfig
17
18DEBUG_OPTIMIZATION:append = " -Wno-error=inline"
19
20