From 2d4f83bb57934e96932cd82547b0edc6a76ac773 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Tue, 2 Nov 2021 01:53:12 +0100 Subject: Updated compilation options --- config.nims | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.nims b/config.nims index 298bb84..92ef9a5 100644 --- a/config.nims +++ b/config.nims @@ -2,3 +2,5 @@ switch("define", "release") switch("define", "flto") switch("opt", "size") switch("threads", "on") +switch("passC", "-ffunction-sections") +switch("passL", "-Wl,--gc-sections") -- cgit v1.2.3