From c67a17ac0a96cbfce6eb20bf1b8a4c1df23aca73 Mon Sep 17 00:00:00 2001 From: Ivan Ovchinnikov Date: Tue, 2 Apr 2024 06:45:50 +0000 Subject: [PATCH] Workaround for building with BoringSSL git revision c528061. --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8d5580d..9bb59df 100644 --- a/Dockerfile +++ b/Dockerfile @@ -49,8 +49,9 @@ RUN cd nginx && \ --with-http_ssl_module \ --with-http_v2_module \ --with-http_v3_module \ + --with-cc=clang \ --with-cc-opt='-I/boringssl/include -O0 -fno-common -fno-omit-frame-pointer -DNGX_QUIC_DRAFT_VERSION=29 -DNGX_HTTP_V3_HQ=1' \ - --with-ld-opt='-L/boringssl/build/ssl -L/boringssl/build/crypto' + --with-ld-opt='-L/boringssl/build/ssl -L/boringssl/build/crypto -lstdc++' RUN cd nginx && make -j$(nproc) RUN cd nginx && make install