aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoustaphaSaad <moustapha.saad.abdelhamed@gmail.com>2024-05-31 18:01:01 +0300
committerTheo Buehler <tb@openbsd.org>2024-06-19 14:06:09 +0200
commit3835fed84288d7800744bef29b01182318e558fd (patch)
tree87d4a6bdbda1c6d2929249c4ccda0fac114f091f
parent3478d5cfc72165f306295d4b02d88808b9210931 (diff)
downloadportable-3835fed84288d7800744bef29b01182318e558fd.tar.gz
portable-3835fed84288d7800744bef29b01182318e558fd.tar.bz2
portable-3835fed84288d7800744bef29b01182318e558fd.zip
disable explicit_bzero because of lack of sigsuspend support on Emscripten
-rw-r--r--tests/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 0c82880..ab277dd 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -402,7 +402,8 @@ add_test(exdata_test exdata_test)
402 402
403# explicit_bzero 403# explicit_bzero
404# explicit_bzero relies on SA_ONSTACK, which is unavailable on Windows 404# explicit_bzero relies on SA_ONSTACK, which is unavailable on Windows
405if(NOT WIN32) 405# explicit_bzero relies on sigsuspend, which is unavailable on Emscripten
406if(NOT (WIN32 OR EMSCRIPTEN))
406 if(HAVE_MEMMEM) 407 if(HAVE_MEMMEM)
407 add_executable(explicit_bzero explicit_bzero.c) 408 add_executable(explicit_bzero explicit_bzero.c)
408 else() 409 else()