diff options
| author | Mattias Andrée <maandree@kth.se> | 2016-03-27 18:03:57 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2016-03-27 18:03:57 +0200 |
| commit | f6106595fd75379982d487196162bea6a6ca0795 (patch) | |
| tree | bea3ebf13a4c7439805c0526801d5583a0cc065e /config.mk | |
| parent | zrand: add DEFAULT_RANDOM and FASTEST_RANDOM (diff) | |
| download | libzahl-f6106595fd75379982d487196162bea6a6ca0795.tar.gz libzahl-f6106595fd75379982d487196162bea6a6ca0795.tar.bz2 libzahl-f6106595fd75379982d487196162bea6a6ca0795.tar.xz | |
Add rand(3), lrand(3), and random(3) to zrand
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'config.mk')
| -rw-r--r-- | config.mk | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -12,7 +12,9 @@ RANLIB = ranlib # you have to add -DFAST_RANDOM_PATHNAME=... to CPPFLAGS, and # unless /dev/random exists and is a blocking secure random number generator # 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. -CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 +CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -DGOOD_RAND CFLAGS = -std=c99 -flto -O3 -Wall -pedantic LDFLAGS = -s |
