aboutsummaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-10-14 19:15:24 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-10-14 19:15:24 +0100
commitd4152285036ca9f304bb8d616858b07e01f23b1e (patch)
tree95739e73385ff0cb56950ca568b2a453934cff76 /src/CMakeLists.txt
parentd9253d8b31e9a99d9f15d85941c5cc1d34dac28f (diff)
downloadrspamd-d4152285036ca9f304bb8d616858b07e01f23b1e.tar.gz
rspamd-d4152285036ca9f304bb8d616858b07e01f23b1e.zip
Revert "[Minor] Remove custom ragel flags to test arm64 bug"
This reverts commit 0d962621f158e0b64693e947beecb3242a229fd2.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
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})