From 8189ae12e32dd97e72cf9bb7778c189c604de9c2 Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Fri, 14 Jun 2024 16:54:47 +0800 Subject: [PATCH] feat update dir.bloaty --- CMakeLists.txt | 1 + dir.bloaty | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a7787cf..8041709 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,6 +43,7 @@ elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") # set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libgcc -static-libstdc++") # set(CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS} -static-libgcc -static-libstdc++") + set(STATIC_BINARY_FLAGS "-static-libgcc -static-libstdc++") set(WHOLE_ARCHIVE_PREFIX "-Wl,--whole-archive") set(WHOLE_ARCHIVE_SUFFIX "-Wl,--no-whole-archive") endif() diff --git a/dir.bloaty b/dir.bloaty index 29b47be..e6fc5e1 100644 --- a/dir.bloaty +++ b/dir.bloaty @@ -3,12 +3,11 @@ custom_data_source: { base_data_source: "compileunits" rewrite: { - pattern: "^(.*/tile/)(third_party/\\w+)" + pattern: "^(.*/)(third_party/\\w+)" replacement: "\\2" } - rewrite: { - pattern: "^(.*/tile/)((\\w+/)+)" + pattern: "^(.*/)(3party/\\w+)" replacement: "\\2" } }