deno/deno-disbale-lto.patch
Avindra Goolcharan b455d98abd Accepting request 1061193 from home:Guillaume_G:branches:devel:languages:javascript
- Switch from deprecated rust-packaging to cargo-packaging
- Disable LTO to build with half of the RAM (fixes build on aarch64):
  * deno-disbale-lto.patch
- Update _constraints with current values

OBS-URL: https://build.opensuse.org/request/show/1061193
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/deno?expand=0&rev=91
2023-01-28 23:28:31 +00:00

18 lines
519 B
Diff

--- deno-1.26.2/Cargo.toml.orig 2023-01-26 10:13:11.259679321 +0100
+++ deno-1.26.2/Cargo.toml 2023-01-26 10:13:28.467861544 +0100
@@ -37,14 +37,12 @@ exclude = ["test_util/std/hash/_wasm"]
[profile.release]
codegen-units = 1
incremental = true
-lto = true
opt-level = 'z' # Optimize for size
# NB: the `bench` and `release` profiles must remain EXACTLY the same.
[profile.bench]
codegen-units = 1
incremental = true
-lto = true
opt-level = 'z' # Optimize for size
# Key generation is too slow on `debug`