mirror of
https://git.swurl.xyz/swirl/pacebin.git
synced 2024-11-22 03:51:29 +00:00
add max_size arg
This commit is contained in:
parent
f6fa577746
commit
24b3bba841
3
Makefile
3
Makefile
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue