From 24b3bba841af1adb1ac41d71e138bdd2c6407877 Mon Sep 17 00:00:00 2001 From: swirl Date: Sun, 23 Jan 2022 12:12:48 -0500 Subject: [PATCH] add max_size arg --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1b06fb4..d9e1f64 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,9 @@ nginx_dir=${DESTDIR}${confdir}/nginx bindir=${DESTDIR}${prefix}/bin DISABLE_CUSTOM_LINKS ?= 0 +MAX_SIZE ?= 52428800 CC ?= gcc -CFLAGS := -O2 -DDISABLE_CUSTOM_LINKS=${DISABLE_CUSTOM_LINKS} ${CFLAGS} +CFLAGS := -O2 -DDISABLE_CUSTOM_LINKS=${DISABLE_CUSTOM_LINKS} -DMG_MAX_RECV_BUF_SIZE=${MAX_SIZE} ${CFLAGS} BIN := pacebin