1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-30 09:11:07 +00:00

use std=c99

This commit is contained in:
Pavol Rusnak 2016-04-27 23:32:14 +02:00
parent 489f09a843
commit d9ec4344fc
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 4 additions and 1 deletions

View File

@ -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)

View File

@ -3,6 +3,7 @@ CC = gcc
OPTFLAGS = -O3 -g
CFLAGS += $(OPTFLAGS) \
-std=c99 \
-W \
-Wall \
-Wextra \