geis: fix build (#46663)

disable format hardening, ignore some compiler warnings
This commit is contained in:
xeji 2018-09-14 23:58:04 +02:00 committed by GitHub
parent 3442408df6
commit 57ee141696
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,9 @@ stdenv.mkDerivation rec {
sha256 = "1svhbjibm448ybq6gnjjzj0ak42srhihssafj0w402aj71lgaq4a";
};
NIX_CFLAGS_COMPILE = "-Wno-format -Wno-misleading-indentation -Wno-error";
NIX_CFLAGS_COMPILE = [ "-Wno-error=misleading-indentation" "-Wno-error=pointer-compare" ];
hardeningDisable = [ "format" ];
pythonPath = with python3Packages;
[ pygobject3 ];