mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-03 08:46:46 +00:00
build with no-pie
Signed-off-by: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com>
This commit is contained in:
@@ -130,7 +130,8 @@ if(IS_GCC)
|
||||
if(ENABLE_ASAN)
|
||||
# GCC has issues with PIC and ASAN.
|
||||
# https://github.com/google/sanitizers/issues/856
|
||||
list(APPEND SANITIZERS_RELOCATION_FLAGS "-fno-PIC")
|
||||
list(APPEND SANITIZERS_COMPILE_FLAGS "-fno-PIC -fno-PIE")
|
||||
list(APPEND SANITIZERS_RELOCATION_FLAGS "-fno-PIC -fno-PIE")
|
||||
endif()
|
||||
|
||||
# Join sanitizer flags with commas for -fsanitize option
|
||||
|
||||
Reference in New Issue
Block a user