another attempt of optimization (changed nothing)

This commit is contained in:
DarkCat09 2024-12-20 22:09:07 +04:00
parent 6851fae012
commit 381c646172
Signed by: DarkCat09
GPG key ID: BD3CE9B65916CD82
2 changed files with 3 additions and 2 deletions

View file

@ -20,7 +20,7 @@ clone () {
# optimizations
set_cflags () {
export \
CFLAGS="-O3" CPPFLAGS="-O3" LDFLAGS="-Wl,-O3 -Wl,-S" \
CFLAGS="-Ofast" CPPFLAGS="-Ofast" LDFLAGS="-Wl,-O3 -Wl,-S" \
RUSTFLAGS="-C target-cpu=native"
}

View file

@ -22,7 +22,8 @@ cargo build \
--bin resolve \
--features dnssec-ring \
--config 'panic="abort"' \
--config 'lto="fat"'
--config 'lto="fat"' \
--config 'codegen-units=1'
echo
echo '==> Done'