aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-05 03:53:03 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-05 03:53:03 +0100
commitcfc481e3e68cd3d3429ec81585d0a53d4a473d16 (patch)
tree8daf6ead4a2d8189ffe7341d8c37233aec97c649 /Makefile
parentm (diff)
downloadlibkeccak-cfc481e3e68cd3d3429ec81585d0a53d4a473d16.tar.gz
libkeccak-cfc481e3e68cd3d3429ec81585d0a53d4a473d16.tar.bz2
libkeccak-cfc481e3e68cd3d3429ec81585d0a53d4a473d16.tar.xz
maybe-initialised warning on -O3 in generalised-spec
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 289bb47..9d2aa61 100644
--- a/Makefile
+++ b/Makefile
@@ -21,8 +21,9 @@ WARN = -Wall -Wextra -pedantic -Wdouble-promotion -Wformat=2 -Winit-self -Wmissi
-Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsuggest-attribute=format \
-Wnormalized=nfkc
-FLAGS = -std=gnu99 $(WARN)
+OPTIMISE = -O3
+FLAGS = -std=gnu99 $(WARN) $(OPTIMISE)
# TODO optimisation flags to test, and naturally -ON
# -faggressive-loop-optimizations -falign-functions[=N]