#!/bin/bash

export LOGFILE=mxe_gcc5.log

source ./tools/ci/scripts/winvars.sh || exit 1
source ./tools/ci/flags/mingw5.sh || exit 1

$CC --version
$CXX --version

echo env
env

autoreconf -i || exit 1

./configure \
--host=${CROSS} \
--enable-werror || (cp config.log logs || exit 1)

make -j2 V=0
