]> source.dussan.org Git - rspamd.git/commitdiff
Revert "[Minor] Remove custom ragel flags to test arm64 bug"
authorVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 14 Oct 2024 18:15:24 +0000 (19:15 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 14 Oct 2024 18:15:24 +0000 (19:15 +0100)
This reverts commit 0d962621f158e0b64693e947beecb3242a229fd2.

src/CMakeLists.txt

index d79b931cd5afb5da1630157db64d22c94571c672..1739177036e7a7b686bf5cc99a7713c3bdebab38 100644 (file)
@@ -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})