aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2015-08-03 07:37:24 -0500
committerBrent Cook <bcook@openbsd.org>2015-08-03 07:37:24 -0500
commit13d910c11e1c405f858d08ffe5a0358ca898e82d (patch)
treea739fc66d56c61fed132f0946da324c5e7f8363a
parent3465c5105b4bbec56a2a2f6ffd0dda1f4f5f71fa (diff)
downloadportable-13d910c11e1c405f858d08ffe5a0358ca898e82d.tar.gz
portable-13d910c11e1c405f858d08ffe5a0358ca898e82d.tar.bz2
portable-13d910c11e1c405f858d08ffe5a0358ca898e82d.zip
disable explicit_bzero optimizations with CMake builds
-rw-r--r--crypto/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt
index 3a866eb..feeeb84 100644
--- a/crypto/CMakeLists.txt
+++ b/crypto/CMakeLists.txt
@@ -604,6 +604,7 @@ if(NOT HAVE_EXPLICIT_BZERO)
604 set(CRYPTO_SRC ${CRYPTO_SRC} compat/explicit_bzero_win.c) 604 set(CRYPTO_SRC ${CRYPTO_SRC} compat/explicit_bzero_win.c)
605 else() 605 else()
606 set(CRYPTO_SRC ${CRYPTO_SRC} compat/explicit_bzero.c) 606 set(CRYPTO_SRC ${CRYPTO_SRC} compat/explicit_bzero.c)
607 set_source_files_properties(compat/explicit_bzero.c PROPERTIES COMPILE_FLAGS -O0)
607 endif() 608 endif()
608endif() 609endif()
609 610