From e7516708fe6fb60e52b24354fa5635689aa06d5d Mon Sep 17 00:00:00 2001 From: "sakib.sajal@windriver.com" Date: Wed, 16 Mar 2022 11:20:20 -0400 Subject: [PATCH] ceph: set CXXFLAGS and CFLAGS commit a83623a54a375d3ae9198a135b94379881a2b7a5 was added to oe-core which removes CXXFLAGS and CFLAGS causing compilation for ceph to fail. Set CXXFLAGS and CFLAGS to resolve the issue. Signed-off-by: Sakib Sajal Signed-off-by: Bruce Ashfield --- recipes-extended/ceph/ceph_15.2.15.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes-extended/ceph/ceph_15.2.15.bb b/recipes-extended/ceph/ceph_15.2.15.bb index c72953ae..17dbcf35 100644 --- a/recipes-extended/ceph/ceph_15.2.15.bb +++ b/recipes-extended/ceph/ceph_15.2.15.bb @@ -66,6 +66,9 @@ EXTRA_OECMAKE = "-DWITH_MANPAGE=OFF \ -DWITH_REENTRANT_STRSIGNAL=ON \ " +CXXFLAGS += "${HOST_CC_ARCH} ${TOOLCHAIN_OPTIONS}" +CFLAGS += "${HOST_CC_ARCH} ${TOOLCHAIN_OPTIONS}" + export STAGING_DIR_HOST do_configure:prepend () {