summaryrefslogtreecommitdiff
path: root/tools/ci/scripts/winvars.sh
blob: 0b328177730658e1cfb28045dc4152fdc2a36227 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

export PATH=/mxe/usr/bin:/mxe/usr/x86_64-unknown-linux-gnu/bin:/mxe/usr/${CROSS}/bin:$PATH

export AR=${CROSS}-ar
export AS=${CROSS}-as
export LD=${CROSS}-ld
export NM=${CROSS}-nm
export RC=${CROSS}-windres
export WINDRES=${CROSS}-windres
export ADD2LINE=${CROSS}-addr2line
export STRIP=${CROSS}-strip
export CC=${CROSS}-gcc
export CXX=${CROSS}-g++
export CXXCPP=${CROSS}-cpp
export CPP=${CROSS}-cpp
export RANLIB=${CROSS}-ranlib

export PKG_CONFIG="/mxe/usr/bin/${CROSS}-pkg-config"
export CXXFLAGS="-Wall -g1 -O5 -ffast-math -std=gnu++1z -funswitch-loops -funsafe-loop-optimizations -pipe"