Merge pull request #72093 from prusnak/go-fortify
stop using hardeningDisable = [ "fortify" ]; for Go packages
This commit is contained in:
@@ -16,8 +16,6 @@ buildGoPackage rec {
|
||||
goPackagePath = "github.com/containerd/containerd";
|
||||
outputs = [ "bin" "out" "man" ];
|
||||
|
||||
hardeningDisable = [ "fortify" ];
|
||||
|
||||
buildInputs = [ btrfs-progs go-md2man utillinux ];
|
||||
buildFlags = "VERSION=v${version}";
|
||||
|
||||
|
||||
@@ -37,8 +37,6 @@ rec {
|
||||
rev = containerdRev;
|
||||
sha256 = containerdSha256;
|
||||
};
|
||||
|
||||
hardeningDisable = [ "fortify" ];
|
||||
});
|
||||
|
||||
docker-tini = tini.overrideAttrs (oldAttrs: {
|
||||
@@ -82,9 +80,6 @@ rec {
|
||||
sha256 = sha256;
|
||||
};
|
||||
|
||||
# Optimizations break compilation of libseccomp c bindings
|
||||
hardeningDisable = [ "fortify" ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [
|
||||
makeWrapper removeReferencesTo go-md2man go libtool
|
||||
|
||||
@@ -18,8 +18,6 @@ buildGoPackage rec {
|
||||
|
||||
outputs = [ "bin" "out" "man" ];
|
||||
|
||||
# Optimizations break compilation of libseccomp c bindings
|
||||
hardeningDisable = [ "fortify" ];
|
||||
nativeBuildInputs = [ pkgconfig go-md2man ];
|
||||
|
||||
buildInputs = [ btrfs-progs libseccomp gpgme lvm2 systemd ];
|
||||
|
||||
Reference in New Issue
Block a user