From 7582a8435624c54fb862b1e753ec83b9fac8582c Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Sat, 27 Jul 2019 08:02:19 -0700 Subject: [PATCH] enable more optimizations in release flags --- sh/compile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sh/compile b/sh/compile index f71b82e..152a5e8 100755 --- a/sh/compile +++ b/sh/compile @@ -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