1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-31 18:40:56 +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: addons:
apt: apt:
sources:
- ubuntu-toolchain-r-test
packages: packages:
- gcc-5
- check - check
- cmake - cmake
- cmake-data - cmake-data
@ -15,6 +18,7 @@ install:
- pip install --user pytest ecdsa curve25519-donna - pip install --user pytest ecdsa curve25519-donna
script: script:
- export CC='gcc-5'
- make - make
- ./tests - ./tests
- ./test-openssl 1000 - ./test-openssl 1000

View File

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