From f1be9844d12e56e699435dd3b489652db327c48a Mon Sep 17 00:00:00 2001 From: Sebastian Ullrich Date: Tue, 13 Jul 2021 11:48:24 +0200 Subject: [PATCH] chore: remove -fno-semantic-interposition again It doesn't seem to change anything other than breaking with LLVM 7 --- src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 04b284382c..2dd660f413 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -304,8 +304,8 @@ endif() if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") set(LEANC_SHARED_LINKER_FLAGS "${LEANC_SHARED_LINKER_FLAGS} -fPIC -Wl,-Bsymbolic-functions") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -fno-semantic-interposition -ftls-model=initial-exec") - set(LEANC_EXTRA_FLAGS "-fPIC -fno-semantic-interposition") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -ftls-model=initial-exec") + set(LEANC_EXTRA_FLAGS "-fPIC") endif() # export all symbols for the interpreter