rr: build according to C++14 standard
Avoid breaking the build with capnproto >= 0.7.0
This commit is contained in:
parent
d4e2c90471
commit
17c96ab275
|
@ -17,6 +17,10 @@ stdenv.mkDerivation rec {
|
|||
patchShebangs .
|
||||
'';
|
||||
|
||||
# TODO: remove this preConfigure hook after 5.2.0 since it is fixed upstream
|
||||
# see https://github.com/mozilla/rr/issues/2269
|
||||
preConfigure = ''substituteInPlace CMakeLists.txt --replace "std=c++11" "std=c++14"'';
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [
|
||||
cmake libpfm zlib python2Packages.python python2Packages.pexpect which procps gdb capnproto
|
||||
|
@ -49,7 +53,7 @@ stdenv.mkDerivation rec {
|
|||
time the same execution is replayed.
|
||||
'';
|
||||
|
||||
license = "custom";
|
||||
license = with stdenv.lib.licenses; [ mit bsd2 ];
|
||||
maintainers = with stdenv.lib.maintainers; [ pierron thoughtpolice ];
|
||||
platforms = stdenv.lib.platforms.x86;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue