From 0b4b5f3795c53ef9f9b2075cc7b10f60cd1694db Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 28 May 2023 11:32:37 -0700 Subject: [PATCH] doxygen: Do not generate #line directive with flex/bison This ensures that buildpaths are not emitted into generated C sourcefiles fixes. WARNING: doxygen-1.9.3-r0 do_package_qa: QA Issue: File /usr/src/debug/doxygen/1.9.3-r0/generated_src/xmlcode.cpp in package doxygen-src contains reference to TMPDIR Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/doxygen/doxygen_1.9.3.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-oe/recipes-devtools/doxygen/doxygen_1.9.3.bb b/meta-oe/recipes-devtools/doxygen/doxygen_1.9.3.bb index 92fea981e1..8bd0992bd6 100644 --- a/meta-oe/recipes-devtools/doxygen/doxygen_1.9.3.bb +++ b/meta-oe/recipes-devtools/doxygen/doxygen_1.9.3.bb @@ -14,4 +14,8 @@ SRC_URI[sha256sum] = "f352dbc3221af7012b7b00935f2dfdc9fb67a97d43287d2f6c81c50449 inherit cmake python3native +EXTRA_OECMAKE += "\ + -DFLEX_TARGET_ARG_COMPILE_FLAGS='--noline' \ + -DBISON_TARGET_ARG_COMPILE_FLAGS='--no-lines' \ +" BBCLASSEXTEND = "native nativesdk"