gnuchess: unbreak clang build with -std=c++14
register keyword is removed in c++17
This commit is contained in:
parent
9fb582619d
commit
a4e357cec9
1 changed files with 5 additions and 0 deletions
|
@ -14,6 +14,11 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
configureFlags = [
|
||||
# register keyword is removed in c++17 so stick to c++14
|
||||
"CXXFLAGS=-std=c++14"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/gnuchessx --set PATH "$out/bin"
|
||||
wrapProgram $out/bin/gnuchessu --set PATH "$out/bin"
|
||||
|
|
Loading…
Reference in a new issue