mirror of
https://github.com/notwa/rc
synced 2024-11-05 04:19:03 -08:00
enable more optimizations in release flags
This commit is contained in:
parent
d100b43f69
commit
7582a84356
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue