diff options
Diffstat (limited to '')
-rw-r--r-- | config-portable.mk | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/config-portable.mk b/config-portable.mk new file mode 100644 index 0000000..4a92176 --- /dev/null +++ b/config-portable.mk @@ -0,0 +1,14 @@ +PREFIX = /usr +MANPREFIX = $(PREFIX)/share/man + +CC = cc -std=c11 + +CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 +CFLAGS = -Wall -O3 +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). |