mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-01-22 22:25:41 +01:00
common.windows: Optimize image size removing MXE sources
Suggested-by: Commaster <Commaster@users.noreply.github.com> See #181
This commit is contained in:
parent
85593886fd
commit
eabac20a8a
@ -91,6 +91,10 @@ RUN \
|
|||||||
cd /usr/src/mxe && \
|
cd /usr/src/mxe && \
|
||||||
make -j$(nproc) && \
|
make -j$(nproc) && \
|
||||||
#
|
#
|
||||||
|
# Cleanup: Remove all expect "usr" directory
|
||||||
|
#
|
||||||
|
find . -maxdepth 1 -type d \( -path ./usr -o -path ".$" \) -prune -o -print -exec rm -rf {} \; && \
|
||||||
|
#
|
||||||
# Update MXE toolchain file
|
# Update MXE toolchain file
|
||||||
#
|
#
|
||||||
echo 'set(CMAKE_CROSSCOMPILING_EMULATOR "/usr/bin/wine")' >> ${CMAKE_TOOLCHAIN_FILE} && \
|
echo 'set(CMAKE_CROSSCOMPILING_EMULATOR "/usr/bin/wine")' >> ${CMAKE_TOOLCHAIN_FILE} && \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user