From 0b6bbbb766dc8dfe8e2f0798c464be370436e3d6 Mon Sep 17 00:00:00 2001 From: Eduardo Menges Mattje <50274155+EduMenges@users.noreply.github.com> Date: Wed, 7 Aug 2024 12:38:06 -0300 Subject: [PATCH] Added C_STANDARD to TrezerCrypto target (#3911) Co-authored-by: satoshiotomakan <127754187+satoshiotomakan@users.noreply.github.com> --- trezor-crypto/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/trezor-crypto/CMakeLists.txt b/trezor-crypto/CMakeLists.txt index 238dbc31217..a3ef46a38f2 100644 --- a/trezor-crypto/CMakeLists.txt +++ b/trezor-crypto/CMakeLists.txt @@ -23,6 +23,8 @@ set(TW_WARNING_FLAGS -Wno-missing-braces ) +set(CMAKE_C_STANDARD 11) + add_library(TrezorCrypto crypto/bignum.c crypto/ecdsa.c crypto/curves.c crypto/secp256k1.c crypto/rand.c crypto/hmac.c crypto/bip32.c crypto/bip39.c crypto/slip39.c crypto/pbkdf2.c crypto/base58.c crypto/base32.c crypto/address.c