mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-29 08:40:57 +00:00
use std=c99
This commit is contained in:
parent
489f09a843
commit
d9ec4344fc
@ -7,6 +7,8 @@ include_directories(ed25519-donna)
|
||||
set_source_files_properties(aeskey.c PROPERTIES
|
||||
COMPILE_FLAGS -Wno-sequence-point)
|
||||
|
||||
set(CMAKE_C_FLAGS "-std=c99")
|
||||
|
||||
if(MSVC)
|
||||
set_source_files_properties(${SOURCES} PROPERTIES LANGUAGE CXX)
|
||||
endif(MSVC)
|
||||
@ -22,4 +24,4 @@ if (TREZOR_CRYPTO_TESTS)
|
||||
add_executable(test-openssl test-openssl.c)
|
||||
target_link_libraries(test-openssl TrezorCrypto check rt pthread m crypto)
|
||||
add_test(NAME trezor-crypto-openssl COMMAND test-openssl 100)
|
||||
endif()
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user