Skip to content

Commit

Permalink
build: drop half-baked asan support
Browse files Browse the repository at this point in the history
  • Loading branch information
saghul committed Apr 8, 2024
1 parent 770050f commit 9c4ea9c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ macro(cpr_option OPTION_NAME OPTION_TEXT OPTION_DEFAULT)
message(STATUS " ${OPTION_NAME}: ${${OPTION_NAME}}")
endmacro()

cpr_option(BUILD_WITH_ASAN "If ON, build with the address sanitizer enabled" OFF)
cpr_option(BUILD_WITH_MIMALLOC "If ON, build with mimalloc" OFF)
cpr_option(USE_EXTERNAL_FFI "Specify to use external ffi dependency" OFF)

Expand Down Expand Up @@ -158,11 +157,6 @@ if (BUILD_WITH_MIMALLOC)
target_link_libraries(tjs mimalloc-static)
endif()

if (BUILD_WITH_ASAN)
target_compile_options(tjs PRIVATE -fsanitize=address)
target_link_options(tjs PRIVATE -fsanitize=address)
endif()

add_executable(tjsc EXCLUDE_FROM_ALL
src/qjsc.c
)
Expand Down

0 comments on commit 9c4ea9c

Please sign in to comment.