chore: remove -fno-semantic-interposition again

It doesn't seem to change anything other than breaking with LLVM 7
This commit is contained in:
Sebastian Ullrich 2021-07-13 11:48:24 +02:00
parent 754286dc6d
commit f1be9844d1

View file

@ -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