mirror of
https://github.com/simon987/sist2.git
synced 2025-12-10 22:18:54 +00:00
Update libmagic cmake things
This commit is contained in:
16
third-party/libscan/CMakeLists.txt
vendored
16
third-party/libscan/CMakeLists.txt
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user