File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ RUN mkdir /tmp/openssl_src
2525RUN curl -L https://github.com/openssl/openssl/archive/${OPENSSL_VERSION}.zip -o /tmp/openssl_src/openssl.zip
2626RUN unzip -q /tmp/openssl_src/openssl.zip -d /tmp/openssl_src
2727RUN cd /tmp/openssl_src/openssl-${OPENSSL_VERSION} && \
28- CC=musl-gcc CFLAGS=-fPIC CFLAGS=-mno-outline-atomics ./Configure --prefix=/musl_openssl --openssldir=/musl_openssl no-shared no-engine no-afalgeng linux-$(uname -m) -DOPENSSL_NO_SECURE_MEMORY no-tests && \
28+ if [ $(uname -m ) = "aarch64" ] ; then CFLAGS_ARCH="-mno-outline-atomics" ; fi && \
29+ CC=musl-gcc CFLAGS="-fPIC $CFLAGS_ARCH" ./Configure --prefix=/musl_openssl --openssldir=/musl_openssl no-shared no-engine no-afalgeng linux-$(uname -m) -DOPENSSL_NO_SECURE_MEMORY no-tests && \
2930 make -j$(nproc) && \
3031 make install_sw
3132
You can’t perform that action at this time.
0 commit comments