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 11 12Signed-off-by: Khem Raj <raj.khem@gmail.com> 13--- 14 cmake/configure_options.cmake | 2 +- 15 1 file changed, 1 insertion(+), 1 deletion(-) 16 17diff --git a/cmake/configure_options.cmake b/cmake/configure_options.cmake 18index f3673f399..fbd0bd2c3 100644 19--- a/cmake/configure_options.cmake 20+++ b/cmake/configure_options.cmake 21@@ -28,7 +28,7 @@ if ( ENABLE_LARGE_PCAP ) 22 endif ( ENABLE_LARGE_PCAP ) 23 24 # Flex Lexer 25-set ( FLEX_FLAGS "-Ca" ) 26+set ( FLEX_FLAGS "-Ca --noline" ) 27 28 # documentation 29 30-- 312.43.2 32 33