mirror of
https://github.com/notwa/rc
synced 2024-05-03 12:13:23 -07:00
enable more optimizations in release flags
This commit is contained in:
parent
d100b43f69
commit
7582a84356
|
@ -160,7 +160,7 @@ compile() {
|
||||||
our_flags+=(-march=native)
|
our_flags+=(-march=native)
|
||||||
fi
|
fi
|
||||||
local debug_flags=(-O1 -g -D_DEBUG);
|
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 dr_flags=(-Ofast -g -fomit-frame-pointer -DNDEBUG)
|
||||||
local hardened_flags=(-O3 -g0 -s
|
local hardened_flags=(-O3 -g0 -s
|
||||||
-DNDEBUG -D_FORTIFY_SOURCE=2
|
-DNDEBUG -D_FORTIFY_SOURCE=2
|
||||||
|
|
Loading…
Reference in New Issue
Block a user