-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.nims
14 lines (14 loc) · 928 Bytes
/
config.nims
1
2
3
4
5
6
7
8
9
10
11
12
13
14
switch("d", "release")
switch("d", "useMalloc")
switch("d", "lto")
switch("d", "strip")
switch("os", "linux")
switch("cpu", "amd64")
switch(
"t",
"-O2 -fgraphite-identity -floop-nest-optimize -flto=auto -flto-compression-level=19 -fuse-linker-plugin -fstack-protector-strong -fstack-clash-protection -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-plt -march=x86-64-v3 -mfpmath=sse -mabi=sysv -malign-data=cacheline -mtls-dialect=gnu2",
)
switch(
"l",
"-Wl,-O1,-s,-z,noexecstack,-z,now,-z,pack-relative-relocs,-z,relro,-z,x86-64-v3,--as-needed,--gc-sections,--sort-common,--hash-style=gnu -Wno-stringop-overflow -O2 -fgraphite-identity -floop-nest-optimize -flto=auto -flto-compression-level=19 -fuse-linker-plugin -fstack-protector-strong -fstack-clash-protection -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-plt -march=x86-64-v3 -mfpmath=sse -mabi=sysv -malign-data=cacheline -mtls-dialect=gnu2",
)