summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bbq/CMakeLists.txt2
-rw-r--r--perf/CMakeLists.txt2
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)