Skip to content

Commit dc1d9c6

Browse files
committed
YAML CPP: Always ignore container overflows
1 parent 022760e commit dc1d9c6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/plugins/yamlcpp/CMakeLists.txt

+2-4
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ if (DEPENDENCY_PHASE)
2222
"which do not point to an object of type `_Sp_counted_base`")
2323
endif (${DISABLE_PLUGIN_ASAN})
2424

25-
# Ignore warnings about container overflows on FreeBSD.
26-
if (CMAKE_SYSTEM_NAME MATCHES FreeBSD)
27-
set (ASAN_DISABLE_CONTAINER_OVERFLOW_CHECK TEST_ENVIRONMENT "ASAN_OPTIONS=detect_container_overflow=0")
28-
endif (CMAKE_SYSTEM_NAME MATCHES FreeBSD)
25+
# Ignore warnings about container overflows.
26+
set (ASAN_DISABLE_CONTAINER_OVERFLOW_CHECK TEST_ENVIRONMENT "ASAN_OPTIONS=detect_container_overflow=0")
2927
endif (DEPENDENCY_PHASE)
3028

3129
add_plugin (yamlcpp

0 commit comments

Comments
 (0)