aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-05-25 15:30:17 +0200
committerMattias Andrée <maandree@kth.se>2017-05-25 17:47:23 +0200
commit7b147cb0c1eaa728f244cc8390ccfcc3f4aee03a (patch)
tree80e23538c1d8b364ec9c8c7e58e895b9a471dfef /config.mk
parentFix errors and warnings and make the code cleaner (diff)
downloadblind-7b147cb0c1eaa728f244cc8390ccfcc3f4aee03a.tar.gz
blind-7b147cb0c1eaa728f244cc8390ccfcc3f4aee03a.tar.bz2
blind-7b147cb0c1eaa728f244cc8390ccfcc3f4aee03a.tar.xz
Add blind-from-named and blind-to-named
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index e4b0735..1bbef28 100644
--- a/config.mk
+++ b/config.mk
@@ -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