File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -51,12 +51,10 @@ set(SECP256K1_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
51
51
include (GetTargetInterface )
52
52
# -fsanitize and related flags apply to both C++ and C,
53
53
# so we can pass them down to libsecp256k1 as CFLAGS and LDFLAGS.
54
- get_target_interface (core_sanitizer_cxx_flags "" sanitize_interface COMPILE_OPTIONS )
55
- set (SECP256K1_APPEND_CFLAGS ${core_sanitizer_cxx_flags} CACHE STRING "" FORCE )
56
- unset (core_sanitizer_cxx_flags )
57
- get_target_interface (core_sanitizer_linker_flags "" sanitize_interface LINK_OPTIONS )
58
- set (SECP256K1_APPEND_LDFLAGS ${core_sanitizer_linker_flags} CACHE STRING "" FORCE )
59
- unset (core_sanitizer_linker_flags )
54
+ get_target_interface (SECP256K1_APPEND_CFLAGS "" sanitize_interface COMPILE_OPTIONS )
55
+ set (SECP256K1_APPEND_CFLAGS ${SECP256K1_APPEND_CFLAGS} CACHE STRING "" FORCE )
56
+ get_target_interface (SECP256K1_APPEND_LDFLAGS "" sanitize_interface LINK_OPTIONS )
57
+ set (SECP256K1_APPEND_LDFLAGS ${SECP256K1_APPEND_LDFLAGS} CACHE STRING "" FORCE )
60
58
# We want to build libsecp256k1 with the most tested RelWithDebInfo configuration.
61
59
enable_language (C )
62
60
foreach (config IN LISTS CMAKE_BUILD_TYPE CMAKE_CONFIGURATION_TYPES )
You can’t perform that action at this time.
0 commit comments