feat: made unix-loader more stable on FreeBSD
This commit is contained in:
+6
-2
@@ -181,6 +181,8 @@ let
|
||||
--summary all \
|
||||
--prefix $out \
|
||||
--release=small \
|
||||
-Dfork \
|
||||
-Dos=linux \
|
||||
-Dbeacon=${sparse-beacon-linux}/bin/sparse-unix-beacon \
|
||||
-Dtarget=x86_64-linux-musl \
|
||||
--verbose
|
||||
@@ -201,6 +203,8 @@ let
|
||||
--summary all \
|
||||
--prefix $out \
|
||||
--release=small \
|
||||
-Dfork \
|
||||
-Dos=freebsd \
|
||||
-Dtarget=x86_64-freebsd \
|
||||
-Dbeacon=${sparse-beacon-freebsd}/bin/sparse-unix-beacon \
|
||||
--sysroot ${freebsd-libs} \
|
||||
@@ -219,7 +223,7 @@ let
|
||||
CARGO_BUILD_TARGET = "x86_64-unknown-linux-musl";
|
||||
CARGO_BUILD_RUSTFLAGS = "-Ctarget-feature=+crt-static";
|
||||
|
||||
SPARSE_LOADER_LINUX = "${linux-loader}/lib/libunix-loader.so";
|
||||
SPARSE_LOADER = "${linux-loader}/lib/libunix-loader-linux.so";
|
||||
});
|
||||
|
||||
sparse-installer-freebsd-sysv = craneLib.buildPackage (commonArgs // {
|
||||
@@ -232,7 +236,7 @@ let
|
||||
CARGO_BUILD_TARGET = "x86_64-unknown-linux-musl";
|
||||
CARGO_BUILD_RUSTFLAGS = "-Ctarget-feature=+crt-static";
|
||||
|
||||
SPARSE_LOADER_FREEBSD = "${freebsd-loader}/lib/libunix-loader.so";
|
||||
SPARSE_LOADER = "${freebsd-loader}/lib/libunix-loader-freebsd.so";
|
||||
});
|
||||
|
||||
sparse-installer-freebsd =
|
||||
|
||||
Reference in New Issue
Block a user