Commit fff9885d authored by Joost Nieuwenhuijse's avatar Joost Nieuwenhuijse
Browse files

perl: CompilerLexer: add -Wno-register

parent 9d3ae807
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -4115,6 +4115,10 @@ with self; {
    };
    nativeBuildInputs = [ pkgs.ld-is-cc-hook ];
    buildInputs = [ ModuleBuildXSUtil ];
    #  src/compiler/util/Compiler_double_charactor_operator.cpp:9:54: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
    env = lib.optionalAttrs stdenv.cc.isClang {
      NIX_CFLAGS_COMPILE = "-Wno-error=register";
    };
    meta = {
      homepage = "https://github.com/goccy/p5-Compiler-Lexer";
      description = "Lexical Analyzer for Perl5";