#!/bin/sh -ex # workaround for gcc4.8 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55642 export CXXFLAGS=-Wa,-mimplicit-it=thumb UBUNTU_RELEASE=$(lsb_release -sc) sudo dpkg --add-architecture armhf sudo tee -a /etc/apt/sources.list > /dev/null <