mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 04:50:21 +00:00
perfetto: build with '-std=c++20'
abseil-cpp is built with C++20, perfetto must use the same version. Fixes: https://github.com/NixOS/nixpkgs/issues/568538
This commit is contained in:
@@ -80,6 +80,7 @@ let
|
||||
toGnFlags = lib.mapAttrsToList (name: value: "${name}=${toGnValue value}");
|
||||
|
||||
commonGnFlags = {
|
||||
extra_cxxflags = "-std=c++20";
|
||||
is_debug = false;
|
||||
is_system_compiler = true;
|
||||
is_clang = stdenv.cc.isClang;
|
||||
|
||||
Reference in New Issue
Block a user