From fca06fd865688012403dc2013689bdd9c784d342 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 17 Jun 2018 20:20:13 +0900 Subject: Travis: build mobile on Linux with newer gcc Signed-off-by: Dirk Hohndel --- scripts/linux2/before_install.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/linux2') diff --git a/scripts/linux2/before_install.sh b/scripts/linux2/before_install.sh index 3b0ddceb4..2e82e1156 100644 --- a/scripts/linux2/before_install.sh +++ b/scripts/linux2/before_install.sh @@ -8,6 +8,10 @@ set -x +# make sure we use a new enough compiler +export CC=gcc-5 +export CXX=g++-5 + # Travis only pulls shallow repos. But that messes with git describe. # Sorry Travis, fetching the whole thing and the tags as well... git fetch --unshallow -- cgit v1.2.3-70-g09d2