From 857f0e1f3e40174825e35d5ee9896ddd407068d1 Mon Sep 17 00:00:00 2001 From: yzct12345 <87620833+yzct12345@users.noreply.github.com> Date: Fri, 30 Jul 2021 03:57:47 +0000 Subject: [PATCH] cmake: Fix clang --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0208181e1c..b0cd76bdc5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -145,7 +145,7 @@ else() endif() if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") - add_compile_options(-fno-pie -no-pie) + add_compile_options(-fno-pie) add_link_options(-no-pie) endif()