Skip to content

Commit

Permalink
Didn't help, revert and try to silence globally for the CPU jitter li…
Browse files Browse the repository at this point in the history
…brary build
  • Loading branch information
torben-hansen committed Nov 8, 2024
1 parent 71cff8d commit 7567e8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion third_party/jitterentropy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if(WIN32)
if(MSVC)
set(JITTER_COMPILE_FLAGS "/Od /W4 /DYNAMICBASE /DAWSLC")
else()
set(JITTER_COMPILE_FLAGS "-DAWSLC -fwrapv --param ssp-buffer-size=4 -fvisibility=hidden -Wcast-align -Wmissing-field-initializers -Wshadow -Wswitch-enum -Wextra -Wall -pedantic -O0 -fwrapv -Wconversion")
set(JITTER_COMPILE_FLAGS "-DAWSLC -fwrapv --param ssp-buffer-size=4 -fvisibility=hidden -Wcast-align -Wmissing-field-initializers -Wshadow -Wswitch-enum -Wno-unused-function -Wextra -Wall -pedantic -O0 -fwrapv -Wconversion")
endif()
else()
set(CMAKE_POSITION_INDEPENDENT_CODE true)
Expand Down
5 changes: 1 addition & 4 deletions third_party/jitterentropy/arch/jitterentropy-base-windows.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,14 @@ typedef int64_t ssize_t;

#if defined(AWSLC)
#include <openssl/crypto.h>
#define JITTER_ENTROPY_UNUSED OPENSSL_UNUSED
#else
#define JITTER_ENTROPY_UNUSED
#endif

#if defined(_M_ARM) || defined(_M_ARM64)
#include <profileapi.h>
#include <windows.h>
#endif

JITTER_ENTROPY_UNUSED static void jent_get_nstime(uint64_t *out)
static void jent_get_nstime(uint64_t *out)
{
#if defined(_M_ARM) || defined(_M_ARM64)

Expand Down

0 comments on commit 7567e8f

Please sign in to comment.