diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-11-06 21:45:28 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-11-06 21:45:28 +0100 |
commit | e9f0a0435a12112ff7faa9d5742616e0eb1c530d (patch) | |
tree | 25709402d01c4c4d8940d0d184b06d5f3916fc8f | |
parent | improved optimisation (diff) | |
download | libkeccak-e9f0a0435a12112ff7faa9d5742616e0eb1c530d.tar.gz libkeccak-e9f0a0435a12112ff7faa9d5742616e0eb1c530d.tar.bz2 libkeccak-e9f0a0435a12112ff7faa9d5742616e0eb1c530d.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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) |