From dbddc6611505cf8f1cabeed6c194bac2f3482573 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..8a8e07e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -49,7 +49,8 @@ RUN cd nginx && \ --with-http_ssl_module \ --with-http_v2_module \ --with-http_v3_module \ - --with-cc-opt='-I/boringssl/include -O0 -fno-common -fno-omit-frame-pointer -DNGX_QUIC_DRAFT_VERSION=29 -DNGX_HTTP_V3_HQ=1' \ + --with-cc=c++ \ + --with-cc-opt='-I/boringssl/include -O0 -fno-common -fno-omit-frame-pointer -DNGX_QUIC_DRAFT_VERSION=29 -DNGX_HTTP_V3_HQ=1 -x c' \ --with-ld-opt='-L/boringssl/build/ssl -L/boringssl/build/crypto' RUN cd nginx && make -j$(nproc)