From 2a1ae8b23d60b3ed2d886ca25b0ca225a34faec7 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 2 Sep 2022 21:36:09 -0700 Subject: glm: Disable clang specific warnings This code should be fixed but for now lets disable the warnings as errors atleast, so it can compile with clang Signed-off-by: Khem Raj --- meta-oe/recipes-graphics/glm/glm_0.9.9.8.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-graphics/glm/glm_0.9.9.8.bb b/meta-oe/recipes-graphics/glm/glm_0.9.9.8.bb index 71a005a564..9edcb2b6e1 100644 --- a/meta-oe/recipes-graphics/glm/glm_0.9.9.8.bb +++ b/meta-oe/recipes-graphics/glm/glm_0.9.9.8.bb @@ -22,6 +22,8 @@ S = "${WORKDIR}/git" inherit cmake +CXXFLAGS:append:toolchain-clang = " -Wno-error=invalid-utf8 -Wno-error=disabled-macro-expansion -Wno-error=reserved-identifier" + do_install() { install -d ${D}${includedir} ${D}${docdir}/glm ${D}${libdir}/pkgconfig ${D}${libdir}/cmake/glm cp -R --no-dereference --preserve=mode,links ${S}/glm ${D}${includedir} -- cgit v1.2.3-54-g00ecf