Skip to content

Commit

Permalink
use dynamic libasan on arch Linux
Browse files Browse the repository at this point in the history
Change-Id: I64c40700d62ebe39c9f47cf0ba384fa09f15bee5
  • Loading branch information
rdementi committed Oct 6, 2024
1 parent a61cbaf commit 9f2fed1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ if(NOT PCM_NO_ASAN)
set(PCM_NO_STATIC_LIBASAN ON)
message(STATUS "CentOS detected, using dynamic libasan")
endif()
if(OS_ID STREQUAL "arch")
set(PCM_NO_STATIC_LIBASAN ON)
message(STATUS "arch Linux detected, using dynamic libasan")
endif()
endif()

if(UNIX) # LINUX, FREE_BSD, APPLE
Expand Down

0 comments on commit 9f2fed1

Please sign in to comment.