diff options
author | Dirk Engling <erdgeist@erdgeist.org> | 2021-04-20 04:05:50 +0200 |
---|---|---|
committer | Dirk Engling <erdgeist@erdgeist.org> | 2021-04-20 04:05:50 +0200 |
commit | b73b3b17ccf02337fb07f5ae78d78c2ff1dc3ccc (patch) | |
tree | 1ab5ec163419a5e6d275e0c5841e319c5a24976b /Makefile | |
parent | ccef1d0ccd0965ce91b2a439866dc1bd8301883d (diff) |
Use arc4random whereever we need strong entropy
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -39,6 +39,10 @@ BINDIR?=$(PREFIX)/bin | |||
39 | FEATURES+=-DWANT_DEV_RANDOM | 39 | FEATURES+=-DWANT_DEV_RANDOM |
40 | FEATURES+=-DWANT_FULLSCRAPE | 40 | FEATURES+=-DWANT_FULLSCRAPE |
41 | 41 | ||
42 | # Is enabled on BSD systems by default in trackerlogic.h | ||
43 | # on Linux systems you will need -lbds | ||
44 | #FEATURES+=-DWANT_ARC4RANDOM | ||
45 | |||
42 | #FEATURES+=-D_DEBUG_HTTPERROR | 46 | #FEATURES+=-D_DEBUG_HTTPERROR |
43 | 47 | ||
44 | OPTS_debug=-D_DEBUG -g -ggdb # -pg -fprofile-arcs -ftest-coverage | 48 | OPTS_debug=-D_DEBUG -g -ggdb # -pg -fprofile-arcs -ftest-coverage |
@@ -46,6 +50,7 @@ OPTS_production=-O3 | |||
46 | 50 | ||
47 | CFLAGS+=-I$(LIBOWFAT_HEADERS) -Wall -pipe -Wextra #-ansi -pedantic | 51 | CFLAGS+=-I$(LIBOWFAT_HEADERS) -Wall -pipe -Wextra #-ansi -pedantic |
48 | LDFLAGS+=-L$(LIBOWFAT_LIBRARY) -lowfat -pthread -lpthread -lz | 52 | LDFLAGS+=-L$(LIBOWFAT_LIBRARY) -lowfat -pthread -lpthread -lz |
53 | #LDFLAGS+=-lbsd | ||
49 | 54 | ||
50 | BINARY =opentracker | 55 | BINARY =opentracker |
51 | HEADERS=trackerlogic.h scan_urlencoded_query.h ot_mutex.h ot_stats.h ot_vector.h ot_clean.h ot_udp.h ot_iovec.h ot_fullscrape.h ot_accesslist.h ot_http.h ot_livesync.h ot_rijndael.h | 56 | HEADERS=trackerlogic.h scan_urlencoded_query.h ot_mutex.h ot_stats.h ot_vector.h ot_clean.h ot_udp.h ot_iovec.h ot_fullscrape.h ot_accesslist.h ot_http.h ot_livesync.h ot_rijndael.h |