From 6bc7e901fb569ad7cd786faa94233940bb0acace Mon Sep 17 00:00:00 2001 From: liuyu Date: Sun, 7 Jul 2024 23:26:41 +0800 Subject: 先去掉-flto MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbq/CMakeLists.txt | 2 +- perf/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bbq/CMakeLists.txt b/bbq/CMakeLists.txt index f6cf563..a86ea7f 100644 --- a/bbq/CMakeLists.txt +++ b/bbq/CMakeLists.txt @@ -13,7 +13,7 @@ if(NOT DEFINED OUTPUT_DIR) endif() # 设置编译类型,默认Release -add_compile_options(-Wall -Wextra -flto) +add_compile_options(-Wall -Wextra) if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE Release) diff --git a/perf/CMakeLists.txt b/perf/CMakeLists.txt index bcb5aba..c24c2c7 100644 --- a/perf/CMakeLists.txt +++ b/perf/CMakeLists.txt @@ -26,7 +26,7 @@ if(NOT CMAKE_BUILD_TYPE) endif() add_definitions(-D_GNU_SOURCE) -add_compile_options(-Wall -Wextra -flto) +add_compile_options(-Wall -Wextra) # 库生成的路径 set(LIB_PATH ${OUTPUT_DIR}/lib) -- cgit v1.2.3