aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-10-14 01:12:30 +0200
committerMattias Andrée <maandree@kth.se>2017-10-14 01:12:30 +0200
commit7e0ddd7b783e17af13b1294887d461479a1faa47 (patch)
tree5e1007a046658fc6e89d20287895dc4baea6d578 /config.mk
parentFix makefile (diff)
downloadlibkeccak-7e0ddd7b783e17af13b1294887d461479a1faa47.tar.gz
libkeccak-7e0ddd7b783e17af13b1294887d461479a1faa47.tar.bz2
libkeccak-7e0ddd7b783e17af13b1294887d461479a1faa47.tar.xz
Use basic config by default1.1.2
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk11
1 files changed, 2 insertions, 9 deletions
diff --git a/config.mk b/config.mk
index 0ad429a..71ccb0d 100644
--- a/config.mk
+++ b/config.mk
@@ -1,13 +1,6 @@
PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man
-# These have not been extensively tested but appear to:
-# * Produce produce false warnings
-# * Slowdown the library's performance
-# -flto -flto-compression-level -flto-partition={1to1,balanced,mix,none} -flto-report -flto-report-wpa -fwpa
-CCOPTIMISE = -falign-functions=0 -fkeep-inline-functions -fmerge-all-constants -Ofast
-LDOPTIMISE =
-
-CFLAGS = -std=c99 -Wall -Wextra $(CCOPTIMISE)
+CFLAGS = -std=c99 -O3
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
-LDFLAGS = $(LDOPTIMISE)
+LDFLAGS = -s