diff options
| author | liuyu <[email protected]> | 2024-07-07 23:26:41 +0800 |
|---|---|---|
| committer | liuyu <[email protected]> | 2024-07-07 23:26:41 +0800 |
| commit | 6bc7e901fb569ad7cd786faa94233940bb0acace (patch) | |
| tree | c6437570be6a0b9e2fa4797dbcb158eb260766db | |
| parent | 2735cff4a044e63054b241418293c87d7c8757b4 (diff) | |
先去掉-fltodev-cacheline-new
| -rw-r--r-- | bbq/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | 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) |
