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 # optimizations
set_cflags () { set_cflags () {
export \ export \
CFLAGS="-O3" CPPFLAGS="-O3" LDFLAGS="-Wl,-O3 -Wl,-S" \ CFLAGS="-Ofast" CPPFLAGS="-Ofast" LDFLAGS="-Wl,-O3 -Wl,-S" \
RUSTFLAGS="-C target-cpu=native" RUSTFLAGS="-C target-cpu=native"
} }

View file

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