From 13d910c11e1c405f858d08ffe5a0358ca898e82d Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Mon, 3 Aug 2015 07:37:24 -0500 Subject: disable explicit_bzero optimizations with CMake builds --- crypto/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'crypto') 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) set(CRYPTO_SRC ${CRYPTO_SRC} compat/explicit_bzero_win.c) else() set(CRYPTO_SRC ${CRYPTO_SRC} compat/explicit_bzero.c) + set_source_files_properties(compat/explicit_bzero.c PROPERTIES COMPILE_FLAGS -O0) endif() endif() -- cgit v1.2.3-55-g6feb