rr: set Wno-error and turn off fortify hardening

This commit is contained in:
Robin Gloster 2016-04-03 12:37:35 +00:00
parent 1f978b7422
commit 4ee2b2ab7b

View file

@ -19,6 +19,11 @@ stdenv.mkDerivation rec {
buildInputs = [ cmake libpfm zlib python pkgconfig pythonPackages.pexpect which procps gdb ];
cmakeFlags = "-DCMAKE_C_FLAGS_RELEASE:STRING= -DCMAKE_CXX_FLAGS_RELEASE:STRING=";
# we turn on additional warnings due to hardening
NIX_CFLAGS_COMPILE = "-Wno-error";
hardeningDisable = [ "fortify" ];
enableParallelBuilding = true;
# FIXME