Skip to content

Commit

Permalink
Merge pull request #287471 from alyssais/libselinux-lfs64
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Mar 1, 2024
2 parents 366cbef + 782e2d2 commit 88492aa
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkgs/os-specific/linux/libselinux/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ stdenv.mkDerivation rec {
-i 'a/libselinux/*' --strip 1 <$TMPDIR/patch >"$out"
'';
})

(fetchurl {
url = "https://git.yoctoproject.org/meta-selinux/plain/recipes-security/selinux/libselinux/0003-libselinux-restore-drop-the-obsolete-LSF-transitiona.patch?id=62b9c816a5000dc01b28e78213bde26b58cbca9d";
sha256 = "sha256-RiEUibLVzfiRU6N/J187Cs1iPAih87gCZrlyRVI2abU=";
})
];

nativeBuildInputs = [ pkg-config python3 ] ++ optionals enablePython [
Expand All @@ -53,7 +58,7 @@ stdenv.mkDerivation rec {
# command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
hardeningDisable = [ "fortify" ];

env.NIX_CFLAGS_COMPILE = "-Wno-error";
env.NIX_CFLAGS_COMPILE = "-Wno-error -D_FILE_OFFSET_BITS=64";

makeFlags = [
"PREFIX=$(out)"
Expand Down

0 comments on commit 88492aa

Please sign in to comment.