aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-04-27 17:30:50 +0200
committerMattias Andrée <maandree@kth.se>2016-04-27 17:30:50 +0200
commit37740e679273dbf76593a8da5d44772b94f07b28 (patch)
tree8f314202b3b36902d28bcae3daefed82824f642d /config.mk
parentError-check implies unlikely branching (diff)
downloadlibzahl-37740e679273dbf76593a8da5d44772b94f07b28.tar.gz
libzahl-37740e679273dbf76593a8da5d44772b94f07b28.tar.bz2
libzahl-37740e679273dbf76593a8da5d44772b94f07b28.tar.xz
Document UNSAFE
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index 7f4332c..b4ca91b 100644
--- a/config.mk
+++ b/config.mk
@@ -14,6 +14,7 @@ RANLIB = ranlib
# you have to add -DSECURE_RANDOM_PATHNAME=... to CPPFLAGS.
# Remove -DGOOD_RAND if the higher bits have higher entropy in the lower
# bits in rand(3), this was historically the case.
+# Add -DUNSAFE if you rather libzahl did not check for errors.
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -DGOOD_RAND
CFLAGS = -std=c99 -flto -O3 -Wall -pedantic