From 448d60ebbf3305c00688d6dd761e682edff27d34 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Sat, 20 Nov 2021 20:19:22 -0800 Subject: [PATCH] Update Makefile --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Makefile b/Makefile index f902913c4b..0605ac5699 100644 --- a/Makefile +++ b/Makefile @@ -436,6 +436,17 @@ httpbench-debug: src/deps/picohttpparser.o \ $(LIBCRYPTO_STATIC_LIB) + +httpbench-release: + cd misctools; $(ZIG) build-obj -Drelease-fast ./http_bench.zig -fcompiler-rt -lc --main-pkg-path ../ --pkg-begin io ../$(IO_FILE) --pkg-end + $(CXX) ./misctools/http_bench.o -O3 -g -o ./misctools/http_bench $(DEFAULT_LINKER_FLAGS) -lc \ + src/deps/mimalloc/libmimalloc.a \ + src/deps/zlib/libz.a \ + src/deps/libarchive.a \ + src/deps/libs2n.a \ + src/deps/picohttpparser.o \ + $(LIBCRYPTO_STATIC_LIB) + s2n-mac: cd $(DEPS_DIR)/s2n-tls; \ make clean; \