diff options
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,8 +1,15 @@ PREFIX = /usr MANPREFIX = $(PREFIX)/share/man -CC = c99 +CC = cc -std=c11 CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE CFLAGS = -Wall -O3 LDFLAGS = -s + +# These optimisations may not only break compatibility with +# processors that the software was not compiled on, but they +# will infact also degrade performance. Therefore they are +# only only used for specific translation units. +CFLAGS_MM128 = -msse4.1 -mavx2 +CFLAGS_MM256 = -msse4.1 -mavx2 |