From a49e0474573c81a2c5a03551140270c9b4f5c9ab Mon Sep 17 00:00:00 2001 From: baalajimaestro Date: Mon, 25 Apr 2022 10:27:35 +0530 Subject: [PATCH] Do full LTO instead of thinLTO Saves us 0.85MB Signed-off-by: baalajimaestro --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e909990..6136d02 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ RUN nimble build --passL:-L/usr/lib \ --passl:-lsqlite3 \ --passl:-lcrypto \ --passL:-static \ - --passL:-flto=thin \ + --passL:"-flto=full" \ -d:release \ --opt:speed \ --accept