diff options
Diffstat (limited to 'meta-oe/recipes-extended/minifi-cpp/files/0004-Pass-noline-flag-to-flex.patch')
-rw-r--r-- | meta-oe/recipes-extended/minifi-cpp/files/0004-Pass-noline-flag-to-flex.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/minifi-cpp/files/0004-Pass-noline-flag-to-flex.patch b/meta-oe/recipes-extended/minifi-cpp/files/0004-Pass-noline-flag-to-flex.patch new file mode 100644 index 0000000000..344e8839e7 --- /dev/null +++ b/meta-oe/recipes-extended/minifi-cpp/files/0004-Pass-noline-flag-to-flex.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 229137659501ae51774dcb3249f94545bdd6e21f Mon Sep 17 00:00:00 2001 | ||
2 | From: Yi Zhao <yi.zhao@windriver.com> | ||
3 | Date: Tue, 19 Mar 2024 21:00:59 +0800 | ||
4 | Subject: [PATCH] Pass --noline flag to flex | ||
5 | |||
6 | This ensures that line directive is not emitted into lexer output which | ||
7 | could be absolute build paths. | ||
8 | |||
9 | Upstream-Status: Inappropriate [embedded specific] | ||
10 | |||
11 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
12 | --- | ||
13 | extensions/expression-language/CMakeLists.txt | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/extensions/expression-language/CMakeLists.txt b/extensions/expression-language/CMakeLists.txt | ||
17 | index c179ab3ef..7f507b03a 100644 | ||
18 | --- a/extensions/expression-language/CMakeLists.txt | ||
19 | +++ b/extensions/expression-language/CMakeLists.txt | ||
20 | @@ -103,7 +103,7 @@ flex_target( | ||
21 | el-scanner | ||
22 | ${CMAKE_CURRENT_SOURCE_DIR}/Scanner.ll | ||
23 | ${CMAKE_BINARY_DIR}/el-generated/Scanner.cpp | ||
24 | - COMPILE_FLAGS --c++ | ||
25 | + COMPILE_FLAGS "--c++ --noline" | ||
26 | ) | ||
27 | |||
28 | set(EL_GENERATED_INCLUDE_DIR ${CMAKE_BINARY_DIR}/el-generated) | ||
29 | -- | ||
30 | 2.34.1 | ||
31 | |||