add max_size arg

This commit is contained in:
swirl 2022-01-23 12:12:48 -05:00
parent f6fa577746
commit 24b3bba841

View File

@ -5,8 +5,9 @@ nginx_dir=${DESTDIR}${confdir}/nginx
bindir=${DESTDIR}${prefix}/bin bindir=${DESTDIR}${prefix}/bin
DISABLE_CUSTOM_LINKS ?= 0 DISABLE_CUSTOM_LINKS ?= 0
MAX_SIZE ?= 52428800
CC ?= gcc 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 BIN := pacebin