another attempt of optimization (changed nothing)
This commit is contained in:
parent
6851fae012
commit
381c646172
2 changed files with 3 additions and 2 deletions
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Add table
Reference in a new issue