rr: set Wno-error and turn off fortify hardening
This commit is contained in:
parent
1f978b7422
commit
4ee2b2ab7b
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue