Allow overriding the default crt in dockerfiles with --build-arg DEFAULT_CRT=msvcrt
This commit is contained in:
1 parent
dcf34a9a35
commit
b5ae2b5cc7
2 files changed
+6
-2
No files matched your search
+3
-1
@@ -36,9 +36,11 @@ COPY wrappers/*.sh wrappers/*.c wrappers/*.h ./wrappers/
|
||||
COPY install-wrappers.sh ./
|
||||
RUN ./install-wrappers.sh $TOOLCHAIN_PREFIX
|
||||
|
||||
ARG DEFAULT_CRT=ucrt
|
||||
|
||||
# Build MinGW-w64
|
||||
COPY build-mingw-w64.sh ./
|
||||
RUN ./build-mingw-w64.sh $TOOLCHAIN_PREFIX
|
||||
RUN ./build-mingw-w64.sh $TOOLCHAIN_PREFIX --with-default-msvcrt=$DEFAULT_CRT
|
||||
|
||||
# Build compiler-rt
|
||||
COPY build-compiler-rt.sh ./
|
||||
|
||||
Reference in new issue
Block a user