aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Dessaux2021-11-02 01:53:12 +0100
committerJulien Dessaux2021-11-02 01:53:12 +0100
commit2d4f83bb57934e96932cd82547b0edc6a76ac773 (patch)
treeb37e719cb124cee16e8850286124e6681d9e6417
parentReworked the server to run database migrations only once on main process start (diff)
downloadshort-2d4f83bb57934e96932cd82547b0edc6a76ac773.tar.gz
short-2d4f83bb57934e96932cd82547b0edc6a76ac773.tar.bz2
short-2d4f83bb57934e96932cd82547b0edc6a76ac773.zip
Updated compilation options
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")