clamav: provide a cargo config with the usual profile.release
hopefully this helps build on sparc64 which looks like it ran out of memory
This commit is contained in:
parent
26b2b0fe63
commit
9f226b461b
@ -1,5 +1,6 @@
|
||||
COMMENT= virus scanner
|
||||
DISTNAME= clamav-0.105.0
|
||||
REVISION= 0
|
||||
|
||||
CATEGORIES= security
|
||||
|
||||
|
@ -0,0 +1,17 @@
|
||||
Index: libclamav_rust/.cargo/config.toml
|
||||
--- libclamav_rust/.cargo/config.toml.orig
|
||||
+++ libclamav_rust/.cargo/config.toml
|
||||
@@ -5,3 +5,13 @@ replace-with = "vendored-sources"
|
||||
[source.vendored-sources]
|
||||
directory = ".cargo/vendor"
|
||||
|
||||
+[profile.release]
|
||||
+opt-level = 2
|
||||
+debug = 0
|
||||
+debug-assertions = false
|
||||
+overflow-checks = false
|
||||
+lto = false
|
||||
+panic = 'unwind'
|
||||
+incremental = false
|
||||
+codegen-units = 4
|
||||
+rpath = false
|
Loading…
Reference in New Issue
Block a user