dns/encrypted-dns-server: Fix build on build on 11.4
Switch to a modern linker PR: 251273 Approved by: Felix Hanley (maintainer)
This commit is contained in:
parent
6cfd76325c
commit
612299b4c1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=556760
@ -0,0 +1,10 @@
|
||||
--- cargo-crates/libsodium-sys-stable-1.19.11/build.rs.orig 2020-11-19 15:20:25 UTC
|
||||
+++ cargo-crates/libsodium-sys-stable-1.19.11/build.rs
|
||||
@@ -214,6 +214,7 @@ fn make_libsodium(target: &str, source_dir: &Path, ins
|
||||
cross_compiling = true;
|
||||
help = "";
|
||||
} else {
|
||||
+ cflags += " -fuse-ld=lld";
|
||||
if target.contains("i686") {
|
||||
compiler += " -m32 -maes";
|
||||
cflags += " -march=i686 -fuse-ld=lld";
|
Loading…
Reference in New Issue
Block a user