mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
Merge pull request #169543 from trofi/fix-zkfuse-for-gcc-11
zkfuse: add a -std=c++14 workaround for gcc-11
This commit is contained in:
commit
2dcf00e6f4
@ -25,6 +25,10 @@ stdenv.mkDerivation rec {
|
||||
-e 's,"zookeeper\.h",<zookeeper/zookeeper.h>,'
|
||||
'';
|
||||
|
||||
# c++17 (gcc-11's default) breaks the build as:
|
||||
# zkadapter.h:616:33: error: ISO C++17 does not allow dynamic exception specifications
|
||||
NIX_CFLAGS_COMPILE = [ "-std=c++14" ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp -v src/zkfuse $out/bin
|
||||
|
Loading…
Reference in New Issue
Block a user