From 09ca44c0ee662b60c20aff1700906f0b739fa20e Mon Sep 17 00:00:00 2001 From: hoellen Date: Tue, 25 Dec 2018 23:29:44 +0100 Subject: [PATCH] fix boring-nginx build error --- boring-nginx/Dockerfile | 3 --- 1 file changed, 3 deletions(-) diff --git a/boring-nginx/Dockerfile b/boring-nginx/Dockerfile index 1721b69..88c2c17 100644 --- a/boring-nginx/Dockerfile +++ b/boring-nginx/Dockerfile @@ -64,9 +64,6 @@ RUN NB_CORES=${BUILD_CORES-$(getconf _NPROCESSORS_CONF)} \ && cd /tmp && git clone https://github.com/openresty/headers-more-nginx-module --depth=1 \ && git clone https://boringssl.googlesource.com/boringssl --depth=1 \ && cd boringssl \ - && sed -i 's@\$shaext[ ]*=[ ]*0;@\$shaext = 1;@' crypto/*/*/asm/*.pl \ - && sed -i 's@\$avx[ ]*=[ ]*[0|1];@\$avx = 2;@' crypto/*/*/asm/*.pl \ - && sed -i 's@\$addx[ ]*=[ ]*0;@\$addx = 1;@' crypto/*/*/asm/*.pl \ && mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. \ && make -j ${NB_CORES} && cd .. \ && mkdir -p .openssl/lib/ && cd .openssl && ln -s ../include && cd .. \