libsepol: temporary fixup after flex security update

/cc #18909.
This commit is contained in:
Vladimír Čunát 2016-09-28 11:12:05 +02:00
parent 6244be2d0a
commit 3e1afeaa5b

View File

@ -13,7 +13,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ flex ];
NIX_CFLAGS_COMPILE = "-fstack-protector-all";
# Temporary work-around for problems after flex security update:
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835542
NIX_CFLAGS_COMPILE = "-Wno-error=sign-compare";
preBuild = ''
makeFlagsArray+=("PREFIX=$out")