diff options
Diffstat (limited to 'config.mk')
| -rw-r--r-- | config.mk | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -5,7 +5,9 @@ VERSION = 1.1 PREFIX = /usr/local MANPREFIX = $(PREFIX)/share/man -# You may want to remove -DHAVE_PRCTL and -DHAVE_EPOLL from CPPFLAGS if you are not using Linux. +# You may want to remove -DHAVE_PRCTL, -DHAVE_EPOLL, and +# -DHAVE_SENDFILE from CPPFLAGS if you are not using Linux. CFLAGS = -std=c11 -Wall -pedantic -O2 -CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64 -DHAVE_PRCTL -DHAVE_EPOLL +CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64\ + -DHAVE_PRCTL -DHAVE_EPOLL -DHAVE_SENDFILE LDFLAGS = -lm -s |
