1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 14:28:07 +00:00

build: switch to gcc-5 (in travis)

This commit is contained in:
Pavol Rusnak 2017-04-02 01:07:00 +02:00
parent a46c372969
commit 12af9b262b
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 6 additions and 2 deletions

View File

@ -4,7 +4,10 @@ language: c
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
- check
- cmake
- cmake-data
@ -15,6 +18,7 @@ install:
- pip install --user pytest ecdsa curve25519-donna
script:
- export CC='gcc-5'
- make
- ./tests
- ./test-openssl 1000

View File

@ -1,6 +1,6 @@
CC = gcc
CC ?= gcc
OPTFLAGS = -O3 -g
OPTFLAGS ?= -O3 -g
CFLAGS += $(OPTFLAGS) \
-std=gnu99 \