aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--config.nims2
1 files changed, 2 insertions, 0 deletions
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")