Skip to content

Commit 6aa2339

Browse files
committed
Workaround for building with BoringSSL git revision c528061.
1 parent 59978f4 commit 6aa2339

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ RUN cd nginx && \
4949
--with-http_ssl_module \
5050
--with-http_v2_module \
5151
--with-http_v3_module \
52-
--with-cc-opt='-I/boringssl/include -O0 -fno-common -fno-omit-frame-pointer -DNGX_QUIC_DRAFT_VERSION=29 -DNGX_HTTP_V3_HQ=1' \
52+
--with-cc=c++ \
53+
--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' \
5354
--with-ld-opt='-L/boringssl/build/ssl -L/boringssl/build/crypto'
5455

5556
RUN cd nginx && make -j$(nproc)

0 commit comments

Comments
 (0)