From d4152285036ca9f304bb8d616858b07e01f23b1e Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 14 Oct 2024 19:15:24 +0100 Subject: [PATCH] Revert "[Minor] Remove custom ragel flags to test arm64 bug" This reverts commit 0d962621f158e0b64693e947beecb3242a229fd2. --- src/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d79b931cd..173917703 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -121,22 +121,27 @@ SET(RAGEL_DEPENDS "${CMAKE_SOURCE_DIR}/src/ragel/smtp_address.rl" RAGEL_TARGET(ragel_smtp_addr INPUTS ${CMAKE_SOURCE_DIR}/src/ragel/smtp_addr_parser.rl DEPENDS ${RAGEL_DEPENDS} + COMPILE_FLAGS -T1 OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/smtp_addr_parser.rl.c) RAGEL_TARGET(ragel_content_disposition INPUTS ${CMAKE_SOURCE_DIR}/src/ragel/content_disposition_parser.rl DEPENDS ${RAGEL_DEPENDS} + COMPILE_FLAGS -G2 OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/content_disposition.rl.c) RAGEL_TARGET(ragel_rfc2047 INPUTS ${CMAKE_SOURCE_DIR}/src/ragel/rfc2047_parser.rl DEPENDS ${RAGEL_DEPENDS} + COMPILE_FLAGS -G2 OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/rfc2047.rl.c) RAGEL_TARGET(ragel_smtp_date INPUTS ${CMAKE_SOURCE_DIR}/src/ragel/smtp_date_parser.rl DEPENDS ${RAGEL_DEPENDS} + COMPILE_FLAGS -G2 OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/date_parser.rl.c) RAGEL_TARGET(ragel_smtp_ip INPUTS ${CMAKE_SOURCE_DIR}/src/ragel/smtp_ip_parser.rl DEPENDS ${RAGEL_DEPENDS} + COMPILE_FLAGS -G2 OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ip_parser.rl.c) # Fucking cmake... FOREACH(_GEN ${LIBSERVER_GENERATED}) -- 2.39.5