enable more optimizations in release flags

This commit is contained in:
Connor Olding 2019-07-27 08:02:19 -07:00
parent d100b43f69
commit 7582a84356
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ compile() {
our_flags+=(-march=native)
fi
local debug_flags=(-O1 -g -D_DEBUG);
local release_flags=(-Ofast -mtune=native -g0 -fomit-frame-pointer -s -DNDEBUG)
local release_flags=(-Ofast -fwhole-program -fweb -mtune=native -g0 -fomit-frame-pointer -s -DNDEBUG)
local dr_flags=(-Ofast -g -fomit-frame-pointer -DNDEBUG)
local hardened_flags=(-O3 -g0 -s
-DNDEBUG -D_FORTIFY_SOURCE=2