0012-third-party-perfetto.patch 393 B

1234567891011121314151617
  1. diff --git a/gn/standalone/BUILD.gn b/gn/standalone/BUILD.gn
  2. index ab21e5877..d63efe924 100644
  3. --- a/gn/standalone/BUILD.gn
  4. +++ b/gn/standalone/BUILD.gn
  5. @@ -252,6 +252,12 @@ config("default") {
  6. "-msse4.2",
  7. ]
  8. }
  9. + } else if (target_cpu == "riscv64") {
  10. + cflags += [
  11. + "-m64",
  12. + "-march=rv64gc",
  13. + "-mabi=lp64d",
  14. + ]
  15. }
  16. if (is_linux) {