From 9a2142e04189105db57788d3063e8399d7287405 Mon Sep 17 00:00:00 2001 From: Antonio K Date: Thu, 26 Oct 2023 15:11:14 +0300 Subject: [PATCH] add `-Wno-unused-function` cc option fix #52 --- docker/debian-nginx-ssl-ja3/compile.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker/debian-nginx-ssl-ja3/compile.sh b/docker/debian-nginx-ssl-ja3/compile.sh index c1a838f..4fd1727 100755 --- a/docker/debian-nginx-ssl-ja3/compile.sh +++ b/docker/debian-nginx-ssl-ja3/compile.sh @@ -1,6 +1,9 @@ #!/bin/bash cd nginx -ASAN_OPTIONS=symbolize=1 ./auto/configure --add-module=/build/nginx-ssl-ja3 --with-http_ssl_module --with-stream_ssl_module --with-debug --with-stream --with-cc-opt="-fsanitize=address -O -fno-omit-frame-pointer" --with-ld-opt="-L/usr/local/lib -Wl,-E -lasan" +ASAN_OPTIONS=symbolize=1 ./auto/configure --add-module=/build/nginx-ssl-ja3 --with-http_ssl_module --with-stream_ssl_module --with-debug --with-stream \ + --with-cc-opt="-fsanitize=address -O -fno-omit-frame-pointer -Wno-unused-function" \ + --with-ld-opt="-L/usr/local/lib -Wl,-E -lasan" +make make install cd -