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