about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2022-05-16 22:18:29 +0100
committerGitHub <noreply@github.com>2022-05-16 22:18:29 +0100
commit4f7d4241c2beb76820e4b4eae8a51d3a157d1df9 (patch)
treec4d8f49a6732a2b21d70024426b966f1a8172833 /pkgs
parent00f85ab585ae13be5f1d2f4a48848801f3d2d184 (diff)
parentfdf08063866138def7a5f6615cb71bb505b31ffc (diff)
Merge pull request #173279 from veprbl/pr/root5_fix
root5: fix build with recent gcc
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/science/misc/root/5.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/applications/science/misc/root/5.nix b/pkgs/applications/science/misc/root/5.nix
index 40a5412e7af77..84443645865e8 100644
--- a/pkgs/applications/science/misc/root/5.nix
+++ b/pkgs/applications/science/misc/root/5.nix
@@ -104,6 +104,7 @@ stdenv.mkDerivation rec {
     "-Drpath=ON"
     "-DCMAKE_INSTALL_LIBDIR=lib"
     "-DCMAKE_INSTALL_INCLUDEDIR=include"
+    "-DCMAKE_CXX_FLAGS=-std=c++11"
     "-Dalien=OFF"
     "-Dbonjour=OFF"
     "-Dcastor=OFF"