diff options
| author | Thomas Holder <thomas@thomas-holder.de> | 2019-10-29 07:15:48 +0000 |
|---|---|---|
| committer | Thomas Holder <thomas@thomas-holder.de> | 2019-10-29 07:15:48 +0000 |
| commit | 2535d1a89b5c1ca235706f8e90bf1eab87989166 (patch) | |
| tree | 73954e37b2954cce7c67ca6bda03c1d538ff8e7c | |
| parent | Dutch translation update (diff) | |
| download | inkscape-2535d1a89b5c1ca235706f8e90bf1eab87989166.tar.gz inkscape-2535d1a89b5c1ca235706f8e90bf1eab87989166.zip | |
gcc has AddressSanitizer support (allow WITH_ASAN)
| -rw-r--r-- | CMakeScripts/DefineDependsandFlags.cmake | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/CMakeScripts/DefineDependsandFlags.cmake b/CMakeScripts/DefineDependsandFlags.cmake index 802117e12..a8bb63276 100644 --- a/CMakeScripts/DefineDependsandFlags.cmake +++ b/CMakeScripts/DefineDependsandFlags.cmake @@ -16,9 +16,6 @@ list(APPEND INKSCAPE_INCS ${PROJECT_SOURCE_DIR} # than compiling with _FORTIFY_SOURCE but has a performance impact (approx. 2x # slower), so it's not suitable for release builds. if(WITH_ASAN) - if(NOT (CMAKE_CXX_COMPILER_ID MATCHES "Clang")) - message(FATAL_ERROR "Compiler must be Clang for WITH_ASAN=ON") - endif() list(APPEND INKSCAPE_CXX_FLAGS "-fsanitize=address -fno-omit-frame-pointer") list(APPEND INKSCAPE_LIBS "-fsanitize=address") else() |
