From 9110c8b7eba76e40cf66456d78765be86ec232b4 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 27 Jul 2021 16:07:55 +0200 Subject: config.mk: doc ALLOCA_LIMIT, add CC=cc, and set PREFIX=/usr MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- config.mk | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/config.mk b/config.mk index 71ccb0d..259cc07 100644 --- a/config.mk +++ b/config.mk @@ -1,6 +1,14 @@ -PREFIX = /usr/local +PREFIX = /usr MANPREFIX = $(PREFIX)/share/man +CC = cc + CFLAGS = -std=c99 -O3 CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 LDFLAGS = -s + +# You can add -DALLOCA_LIMIT=# to CPPFLAGS, where # is a size_t +# value, to put a limit on how large allocation the library is +# allowed to make with alloca(3). For buffers that can have any +# size this limit will be used if it wants to allocate a larger +# buffer. Choose 0 to use malloc(3) instead of alloca(3). -- cgit v1.2.3-70-g09d2