Blame docker-builder-data/build/script/toolchain/win-64.sh

3b09af
#!/bin/bash
3b09af
3b09af
export TOOLCHAIN_HOST="x86_64-w64-mingw32"
3b09af
export TOOLCHAIN_PATH="/usr/$TOOLCHAIN_HOST/bin:/usr/$TOOLCHAIN_HOST/sys-root/mingw/bin:$INITIAL_PATH"
3b09af
export TOOLCHAIN_LD_LIBRARY_PATH="/usr/$TOOLCHAIN_HOST/sys-root/mingw/lib:$INITIAL_LD_LIBRARY_PATH"
3b09af
export TOOLCHAIN_CC=/usr/bin/$TOOLCHAIN_HOST-gcc
3b09af
export TOOLCHAIN_CXX=/usr/bin/$TOOLCHAIN_HOST-g++
cf8c28
export TOOLCHAIN_FORTRAN=/usr/bin/$TOOLCHAIN_HOST-gfortran
cf8c28
export TOOLCHAIN_LD=/usr/bin/$TOOLCHAIN_HOST-ld
cf8c28
export TOOLCHAIN_AR=/usr/bin/$TOOLCHAIN_HOST-ar
cf8c28
export TOOLCHAIN_RANLIB=/usr/bin/$TOOLCHAIN_HOST-ranlib
3b09af
export TOOLCHAIN_LDFLAGS=" -L/usr/$TOOLCHAIN_HOST/sys-root/mingw/lib $INITIAL_LDFLAGS"
3b09af
export TOOLCHAIN_CFLAGS=" -I/usr/$TOOLCHAIN_HOST/sys-root/mingw/include $INITIAL_CFLAGS"
3b09af
export TOOLCHAIN_CPPFLAGS=" -I/usr/$TOOLCHAIN_HOST/sys-root/mingw/include $INITIAL_CPPFLAGS"
3b09af
export TOOLCHAIN_CXXFLAGS=" -I/usr/$TOOLCHAIN_HOST/sys-root/mingw/include $INITIAL_CXXFLAGS"
cf8c28
export TOOLCHAIN_PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/$TOOLCHAIN_HOST/sys-root/mingw/lib/pkgconfig"
cf8c28
export TOOLCHAIN_PKG_CONFIG_LIBDIR="/usr/$TOOLCHAIN_HOST/sys-root/mingw/lib"
3b09af
export TOOLCHAIN_XDG_DATA_DIRS="$INITIAL_XDG_DATA_DIRS"
3b09af
export TOOLCHAIN_ACLOCAL_PATH="$INITIAL_ACLOCAL_PATH"
cf8c28
export TOOLCHAIN_CMAKE_INCLUDE_PATH="/usr/$TOOLCHAIN_HOST/sys-root/mingw/include:$INITIAL_CMAKE_INCLUDE_PATH"
cf8c28
export TOOLCHAIN_CMAKE_LIBRARY_PATH="/usr/$TOOLCHAIN_HOST/sys-root/mingw/lib:$INITIAL_CMAKE_LIBRARY_PATH"