meta-openembedded/meta-oe/recipes-extended/minifi-cpp/files/0004-Pass-noline-flag-to-flex.patch
Yi Zhao cf88ed337b
minifi: upgrade 0.15.0 -> 0.99.1
ChangeLog:
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=65145325

License-Update: Drop the license for cxxopts and add the license for
                argparse(MIT)[1].
                Update the license for protobuf(3-Clause BSD) and add
                the licenses for RE2(3-Clause BSD) and c-ares(MIT)[2].
                Drop the license for ios-cmake[3].
                Add the license for Lua(MIT)[4].
                Drop the license for libcoap[5].
                Drop the license for uthash[6].
                Drop the licenses for LightPcapNg and PcapPlusPlus[7].
                Add the licenses for HdrHistogram(CC0-1.0) and
                llhttp(MIT)[8].

[1] 1dfab222d4
[2] 20d281adaf
[3] 1815c018ce
[4] 3d7262a883
[5] 3bbaa0789a
[6] 78af9f665a
[7] 37891aafb8
[8] bd1182eb8c

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-17 14:01:16 -07:00

32 lines
1.0 KiB
Diff

From 229137659501ae51774dcb3249f94545bdd6e21f Mon Sep 17 00:00:00 2001
From: Yi Zhao <yi.zhao@windriver.com>
Date: Tue, 19 Mar 2024 21:00:59 +0800
Subject: [PATCH] Pass --noline flag to flex
This ensures that line directive is not emitted into lexer output which
could be absolute build paths.
Upstream-Status: Inappropriate [embedded specific]
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
extensions/expression-language/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/extensions/expression-language/CMakeLists.txt b/extensions/expression-language/CMakeLists.txt
index c179ab3ef..7f507b03a 100644
--- a/extensions/expression-language/CMakeLists.txt
+++ b/extensions/expression-language/CMakeLists.txt
@@ -103,7 +103,7 @@ flex_target(
el-scanner
${CMAKE_CURRENT_SOURCE_DIR}/Scanner.ll
${CMAKE_BINARY_DIR}/el-generated/Scanner.cpp
- COMPILE_FLAGS --c++
+ COMPILE_FLAGS "--c++ --noline"
)
set(EL_GENERATED_INCLUDE_DIR ${CMAKE_BINARY_DIR}/el-generated)
--
2.34.1