소스 검색

Merge pull request #13546 from ghalliday/issue23769

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

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 5 년 전
부모
커밋
f63407966a
1개의 변경된 파일0개의 추가작업 그리고 6개의 파일을 삭제
  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)