aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-07-08 13:23:00 +0200
committerMattias Andrée <maandree@kth.se>2022-07-08 13:23:00 +0200
commit312a92b5104fd5e9090bc079f458f9105a91e1ea (patch)
treea2f68787a2a3ffaf5ca17661c503daebd96bc453 /config.mk
parentUse uint_leastN_t instead of uintN_t (diff)
downloadlibsha2-312a92b5104fd5e9090bc079f458f9105a91e1ea.tar.gz
libsha2-312a92b5104fd5e9090bc079f458f9105a91e1ea.tar.bz2
libsha2-312a92b5104fd5e9090bc079f458f9105a91e1ea.tar.xz
Use SHA extensions1.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index 66efe55..a79e63f 100644
--- a/config.mk
+++ b/config.mk
@@ -1,10 +1,10 @@
PREFIX = /usr
MANPREFIX = $(PREFIX)/share/man
-CC = c99
+CC = cc -std=c11
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