From 540a91df792c675f2e4a9dfc7a1513bfd981e9fb Mon Sep 17 00:00:00 2001 From: Andrew Ashikhmin <34320705+yperbasis@users.noreply.github.com> Date: Mon, 29 May 2023 10:56:31 +0200 Subject: [PATCH] build: no need for -fpic (#1193) --- cmake/toolchain/cxx20.cmake | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmake/toolchain/cxx20.cmake b/cmake/toolchain/cxx20.cmake index 6cc9a93719..2887dc507f 100644 --- a/cmake/toolchain/cxx20.cmake +++ b/cmake/toolchain/cxx20.cmake @@ -18,8 +18,6 @@ set(CMAKE_CXX_STANDARD_REQUIRED YES) set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_EXTENSIONS NO) -set(CMAKE_POSITION_INDEPENDENT_CODE YES) - set(CMAKE_C_VISIBILITY_PRESET hidden) set(CMAKE_CXX_VISIBILITY_PRESET hidden) set(CMAKE_VISIBILITY_INLINES_HIDDEN YES)