aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-06 21:45:28 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-06 21:45:28 +0100
commite9f0a0435a12112ff7faa9d5742616e0eb1c530d (patch)
tree25709402d01c4c4d8940d0d184b06d5f3916fc8f
parentimproved optimisation (diff)
downloadlibkeccak-e9f0a0435a12112ff7faa9d5742616e0eb1c530d.tar.gz
libkeccak-e9f0a0435a12112ff7faa9d5742616e0eb1c530d.tar.bz2
libkeccak-e9f0a0435a12112ff7faa9d5742616e0eb1c530d.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 915a88e..8fadd8d 100644
--- a/Makefile
+++ b/Makefile
@@ -21,10 +21,13 @@ WARN = -Wall -Wextra -pedantic -Wdouble-promotion -Wformat=2 -Winit-self -Wmissi
-Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsuggest-attribute=format \
-Wnormalized=nfkc
+# 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
+COPTIMISE = -falign-functions=0 -fkeep-inline-functions -fmerge-all-constants -Ofast
LDOPTIMISE =
-# -flto -flto-compression-level -flto-partition={1to1,balanced,mix,none} -flto-report -flto-report-wpa -fwpa
-COPTIMISE = -falign-functions=0 -fkeep-inline-functions -fmerge-all-constants -Ofast
FLAGS = -std=gnu99 $(WARN)