libsepol,libselinux: fix i686 build
This commit is contained in:
parent
fb1f35424e
commit
9df1ad5a2d
@ -24,6 +24,8 @@ stdenv.mkDerivation rec {
|
|||||||
# command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
|
# command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
|
||||||
hardeningDisable = [ "fortify" ];
|
hardeningDisable = [ "fortify" ];
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = [ "-Wno-error" ];
|
||||||
|
|
||||||
postPatch = optionalString enablePython ''
|
postPatch = optionalString enablePython ''
|
||||||
sed -i -e 's|\$(LIBDIR)/libsepol.a|${libsepol}/lib/libsepol.a|' src/Makefile
|
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")
|
makeFlagsArray+=("MAN3DIR=$out/share/man/man3")
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = [ "-Wno-error" ];
|
||||||
|
|
||||||
passthru = { inherit se_release se_url; };
|
passthru = { inherit se_release se_url; };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user