From 738aefb5e699217c1f534701ea324c193ebcc9fd Mon Sep 17 00:00:00 2001 From: Yifei Kong Date: Sun, 31 Dec 2023 18:29:55 +0800 Subject: [PATCH] Using CFLAGS --- win/build.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/win/build.sh b/win/build.sh index 4f85911d..ef2a1936 100644 --- a/win/build.sh +++ b/win/build.sh @@ -37,11 +37,7 @@ export OPENSSL_PATH=$PWD/boringssl export OPENSSL_LIBPATH=$PWD/boringssl/lib export OPENSSL_LIBS='-lssl -lcrypto' -export USE_HTTP2=1 -export USE_WEBSOCKETS=1 -export USE_ECH=1 - -export D_FORTIFY_SOURCE=0 +export CFLAGS="-DUSE_HTTP2=1 -DUSE_WEBSOCKETS=1 -DUSE_ECH=1" CURL_VERSION=curl-8_1_1