Merge pull request #309755 from annaleeleaves/gnuchess-c++14
gnuchess: unbreak clang build with -std=c++14
This commit is contained in:
commit
4e0e5dd057
@ -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 New Issue
Block a user