Update libmagic cmake things

This commit is contained in:
2022-04-15 15:35:20 -04:00
parent 779303a2f7
commit 036ed9ea1e
2 changed files with 33 additions and 4 deletions

View File

@@ -42,6 +42,22 @@ if (SIST_DEBUG)
-fsanitize=address
-fno-inline
)
elseif (SIST_FAST)
add_compile_definitions(
antiword
NDEBUG
)
target_compile_options(
scan
PRIVATE
-Ofast
-march=native
-fno-stack-protector
-fomit-frame-pointer
-freciprocal-math
)
else()
add_compile_definitions(
antiword