1From 417ed0045b3d04f539a8eb18b07a208c75f6c7e1 Mon Sep 17 00:00:00 2001 2From: Khem Raj <raj.khem@gmail.com> 3Date: Tue, 20 Feb 2024 16:08:20 -0800 4Subject: [PATCH] cmake: Pass --noline flag to flex 5 6This ensures that line directive is not emitted into lexer output which 7could be absolute build paths, since these files end up in dbg packages 8this can be flagged as a build/packaging warning. 9 10Upstream-Status: Pending 11Signed-off-by: Khem Raj <raj.khem@gmail.com> 12--- 13 cmake/configure_options.cmake | 2 +- 14 1 file changed, 1 insertion(+), 1 deletion(-) 15 16diff --git a/cmake/configure_options.cmake b/cmake/configure_options.cmake 17index f3673f399..fbd0bd2c3 100644 18--- a/cmake/configure_options.cmake 19+++ b/cmake/configure_options.cmake 20@@ -28,7 +28,7 @@ if ( ENABLE_LARGE_PCAP ) 21 endif ( ENABLE_LARGE_PCAP ) 22 23 # Flex Lexer 24-set ( FLEX_FLAGS "-Ca" ) 25+set ( FLEX_FLAGS "-Ca --noline" ) 26 27 # documentation 28 29-- 302.43.2 31 32