Skip to content

Commit 634f16c

Browse files
committed
Experiment with new flags
1 parent 28f5b35 commit 634f16c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

config.nims

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ switch("os", "linux")
66
switch("cpu", "amd64")
77
switch(
88
"passC",
9-
"-O2 -flto=auto -flto-compression-level=3 -fuse-linker-plugin -fstack-protector-strong -fstack-clash-protection -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-plt -march=x86-64-v3 -malign-data=cacheline -mtls-dialect=gnu2",
9+
"-Os -flto=auto -flto-compression-level=3 -fuse-linker-plugin -fstack-protector-strong -fstack-clash-protection -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-ident -fno-plt -march=x86-64-v3 -malign-data=abi -mtls-dialect=gnu2",
1010
)
1111
switch(
1212
"passL",
13-
"-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 -flto=auto -flto-compression-level=3 -fuse-linker-plugin -fstack-protector-strong -fstack-clash-protection -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-plt -march=x86-64-v3 -malign-data=cacheline -mtls-dialect=gnu2",
13+
"-Wl,-O1,--rosegment,-s,-z,noexecstack,-z,now,-z,pack-relative-relocs,-z,relro,-z,separate-code,-z,x86-64-v3,--as-needed,--no-keep-memory,--relax,--sort-common,--enable-new-dtags,--hash-style=gnu,--reduce-memory-overheads,--build-id=none -Wno-stringop-overflow -Os -flto=auto -flto-compression-level=3 -fuse-linker-plugin -fstack-protector-strong -fstack-clash-protection -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-ident -fno-plt -march=x86-64-v3 -malign-data=abi -mtls-dialect=gnu2",
1414
)

0 commit comments

Comments
 (0)