Skip to content

Commit 5375cf5

Browse files
authored
Merge pull request #2 from Kasumi-Ushio/main
Optimize GNU/Linux compile
2 parents 1439ae5 + 18f839c commit 5375cf5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

anitorrent-native/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ else ()
5353
# 尝试引入 GNU/Linux 发行版下的编译
5454
if (UNIX AND NOT APPLE AND NOT WIN32)
5555
# 添加 Linux 平台下的额外配置
56-
add_compile_options(-Wall -Wextra -std=c++17 -g -O2 -pthread -fPIC -fno-exceptions -frtti)
56+
add_compile_options(-Wall -Wextra -std=c++17 -O2 -pthread -fPIC -fno-exceptions -frtti)
5757
set(BUILD_SHARED_LIBS OFF) # 编译 libtorrent 为静态库
5858
set(OPENSSL_USE_STATIC_LIBS TRUE) # 静态链接 OpenSSL
5959
find_package(OpenSSL REQUIRED)

0 commit comments

Comments
 (0)