Commit e5f3d587 authored by Weijia Wang's avatar Weijia Wang
Browse files

gengetopt: fix build with clang 16

parent 32da89a1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -27,6 +27,10 @@ stdenv.mkDerivation rec {
      'set +o posix'
  '';

  env = lib.optionalAttrs stdenv.cc.isClang {
    CXXFLAGS = "-std=c++14";
  };

  meta = {
    description = "Command-line option parser generator";