Docker fixes

This commit is contained in:
2022-02-12 11:12:53 -05:00
parent d58fcbc788
commit 065146ff8a
4 changed files with 25 additions and 9 deletions

View File

@@ -6,10 +6,26 @@ set(CMAKE_C_STANDARD 11)
option(BUILD_TESTS "Build tests" on)
add_subdirectory(third-party/antiword)
add_compile_definitions(
antiword
NDEBUG
)
if (SIST_DEBUG)
add_compile_definitions(
antiword
DEBUG
)
else()
add_compile_definitions(
antiword
NDEBUG
)
target_compile_options(
antiword
PRIVATE
-g
-fstack-protector
-fno-omit-frame-pointer
-fsanitize=address
-fno-inline
)
endif()
add_library(
scan