mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-10 05:07:26 +01:00
windows-x86: Add environmental variables.
This commit is contained in:
parent
344b514327
commit
f3be2be983
@ -59,5 +59,12 @@ RUN make -j$(nproc)
|
|||||||
ENV PATH ${PATH}:/usr/src/mxe/usr/bin
|
ENV PATH ${PATH}:/usr/src/mxe/usr/bin
|
||||||
ENV CMAKE_TOOLCHAIN_FILE /usr/src/mxe/usr/i686-w64-mingw32.static/share/cmake/mxe-conf.cmake
|
ENV CMAKE_TOOLCHAIN_FILE /usr/src/mxe/usr/i686-w64-mingw32.static/share/cmake/mxe-conf.cmake
|
||||||
RUN echo 'set(CMAKE_CROSSCOMPILING_EMULATOR "/usr/bin/wine")' >> ${CMAKE_TOOLCHAIN_FILE}
|
RUN echo 'set(CMAKE_CROSSCOMPILING_EMULATOR "/usr/bin/wine")' >> ${CMAKE_TOOLCHAIN_FILE}
|
||||||
|
ENV CROSS_TRIPLE i686-w64-mingw32.static
|
||||||
|
ENV AS=/usr/src/mxe/usr/bin/${CROSS_TRIPLE}-as \
|
||||||
|
AR=/usr/src/mxe/usr/bin/${CROSS_TRIPLE}-ar \
|
||||||
|
CC=/usr/src/mxe/usr/bin/${CROSS_TRIPLE}-gcc \
|
||||||
|
CPP=/usr/src/mxe/usr/bin/${CROSS_TRIPLE}-cpp \
|
||||||
|
CXX=/usr/src/mxe/usr/bin/${CROSS_TRIPLE}-g++ \
|
||||||
|
LD=/usr/src/mxe/usr/bin/${CROSS_TRIPLE}-ld
|
||||||
|
|
||||||
WORKDIR /usr/src
|
WORKDIR /usr/src
|
||||||
|
Loading…
Reference in New Issue
Block a user