Re: [PATCH V2] ceph: set CXXFLAGS and CFLAGS

Bruce Ashfield

thanks for V2!

I forgot that I was testing with v1, and pushed it instead of
this .. but since the functional change is the same, we'll
leave it as-is.



In message: [meta-virtualization][PATCH V2] ceph: set CXXFLAGS and CFLAGS
on 22/03/2022 sakib.sajal@... wrote:

In oe-core, the commit:
a83623a54a Revert "cmake.bbclass: Set CXXFLAGS and CFLAGS"

drops compiler flags overrides for all cmake-based recipes,
causing the ceph compile to fail with the error:
ld: cannot find crtn.o: No such file or directory

collect2: error: ld returned 1 exit status

Add the override back for ceph to fix the build error.

Signed-off-by: Sakib Sajal <sakib.sajal@...>
recipes-extended/ceph/ | 3 +++
1 file changed, 3 insertions(+)

diff --git a/recipes-extended/ceph/ b/recipes-extended/ceph/
index c72953a..17dbcf3 100644
--- a/recipes-extended/ceph/
+++ b/recipes-extended/ceph/
@@ -66,6 +66,9 @@ EXTRA_OECMAKE = "-DWITH_MANPAGE=OFF \


do_configure:prepend () {

Join to automatically receive all group messages.