Explorar o código

HPCC-23769 Revert link symbol checking (HPCC-23430) in 7.8.x builds

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday %!s(int64=5) %!d(string=hai) anos
pai
achega
9991b14ae4
Modificáronse 1 ficheiros con 0 adicións e 6 borrados
  1. 0 6
      cmake_modules/commonSetup.cmake

+ 0 - 6
cmake_modules/commonSetup.cmake

@@ -487,12 +487,6 @@ IF ("${COMMONSETUP_DONE}" STREQUAL "")
     endif ()
   endif ()
 
-  if (CMAKE_COMPILER_IS_GNUCXX)
-    #Ensure that missing symbols are reported as errors at link time (default for osx/windows)
-    SET (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-z,defs")
-    SET (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-z,defs")
-  endif()
-
   macro(HPCC_ADD_EXECUTABLE target)
     add_executable(${target} ${ARGN})
   endmacro(HPCC_ADD_EXECUTABLE target)