aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-07-08 00:47:04 +0200
committerMattias Andrée <maandree@kth.se>2022-07-08 00:47:04 +0200
commitc5b86d52256d535149caefbe1031807b28c8face (patch)
tree0f5b52e3196ca435365244b7cc3b97f9fb9750c5 /config.mk
parentm (diff)
downloadlibsha1-c5b86d52256d535149caefbe1031807b28c8face.tar.gz
libsha1-c5b86d52256d535149caefbe1031807b28c8face.tar.bz2
libsha1-c5b86d52256d535149caefbe1031807b28c8face.tar.xz
Add code using SHA intrinsics
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index 66efe55..9ec13d4 100644
--- a/config.mk
+++ b/config.mk
@@ -4,7 +4,7 @@ MANPREFIX = $(PREFIX)/share/man
CC = c99
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
-CFLAGS = -Wall -O3
+CFLAGS = -Wall -O3 -msse4 -msha
LDFLAGS = -s
# You can add -DALLOCA_LIMIT=# to CPPFLAGS, where # is a size_t