@@ -37,7 +37,7 @@ RUN cd /tmp && \
37
37
mv musl-cross-make-0.9.8 musl-cross-make && \
38
38
cp /tmp/config.mak /tmp/musl-cross-make/config.mak && \
39
39
cd /tmp/musl-cross-make && \
40
- TARGET=$TARGET make install > /tmp/musl-cross-make.log && \
40
+ TARGET=$TARGET make install -j 4 > /tmp/musl-cross-make.log && \
41
41
ln -s /usr/local/musl/bin/$TARGET-strip /usr/local/musl/bin/musl-strip && \
42
42
cd /tmp && \
43
43
rm -rf /tmp/musl-cross-make /tmp/musl-cross-make.log
@@ -80,7 +80,7 @@ RUN export CC=$TARGET_CC && \
80
80
sha256sum -c checksums.txt && \
81
81
tar xzf zlib-$VERS.tar.gz && cd zlib-$VERS && \
82
82
./configure --static --archs="-fPIC" --prefix=/usr/local/musl/$TARGET && \
83
- make && sudo make install && \
83
+ make && sudo make install -j 4 && \
84
84
cd .. && rm -rf zlib-$VERS.tar.gz zlib-$VERS checksums.txt && \
85
85
echo "Building OpenSSL" && \
86
86
VERS=1.0.2q && \
@@ -91,7 +91,7 @@ RUN export CC=$TARGET_CC && \
91
91
tar xzf openssl-$VERS.tar.gz && cd openssl-$VERS && \
92
92
./Configure $OPENSSL_ARCH -fPIC --prefix=/usr/local/musl/$TARGET && \
93
93
make depend && \
94
- make && sudo make install && \
94
+ make && sudo make install -j 4 && \
95
95
cd .. && rm -rf openssl-$VERS.tar.gz openssl-$VERS checksums.txt
96
96
97
97
ENV OPENSSL_DIR=/usr/local/musl/$TARGET/ \
0 commit comments