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 <sakib.sajal@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
sakib.sajal@windriver.com 2022-03-16 11:20:20 -04:00 committed by Bruce Ashfield
parent 8cba065209
commit e7516708fe

View File

@ -66,6 +66,9 @@ EXTRA_OECMAKE = "-DWITH_MANPAGE=OFF \
-DWITH_REENTRANT_STRSIGNAL=ON \ -DWITH_REENTRANT_STRSIGNAL=ON \
" "
CXXFLAGS += "${HOST_CC_ARCH} ${TOOLCHAIN_OPTIONS}"
CFLAGS += "${HOST_CC_ARCH} ${TOOLCHAIN_OPTIONS}"
export STAGING_DIR_HOST export STAGING_DIR_HOST
do_configure:prepend () { do_configure:prepend () {