mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
Merge pull request #37922 from xeji/p/libselinux-i686
libsepol,libselinux: fix i686 build
This commit is contained in:
commit
ee28e35ba3
@ -24,6 +24,8 @@ stdenv.mkDerivation rec {
|
||||
# command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
|
||||
hardeningDisable = [ "fortify" ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-Wno-error" ];
|
||||
|
||||
postPatch = optionalString enablePython ''
|
||||
sed -i -e 's|\$(LIBDIR)/libsepol.a|${libsepol}/lib/libsepol.a|' src/Makefile
|
||||
'';
|
||||
|
@ -20,6 +20,7 @@ stdenv.mkDerivation rec {
|
||||
makeFlagsArray+=("MAN3DIR=$out/share/man/man3")
|
||||
'';
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-Wno-error" ];
|
||||
|
||||
passthru = { inherit se_release se_url; };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user