ERR: Disabling multiply defined symbols warning for linking executables on IRIX. The compiler's prelinker does not add weak symbols, so template instantiations are duplicated.

This commit is contained in:
Brad King 2003-06-27 09:48:03 -04:00
parent bab4bcb570
commit d73794f814
1 changed files with 6 additions and 0 deletions

View File

@ -24,6 +24,12 @@ IF(CMAKE_SYSTEM MATCHES "AIX.*")
ENDIF(NOT CMAKE_COMPILER_IS_GNUCXX)
ENDIF(CMAKE_SYSTEM MATCHES "AIX.*")
IF(CMAKE_SYSTEM MATCHES "IRIX.*")
IF(NOT CMAKE_COMPILER_IS_GNUCXX)
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -LD_MSG:off=15 ")
ENDIF(NOT CMAKE_COMPILER_IS_GNUCXX)
ENDIF(CMAKE_SYSTEM MATCHES "IRIX.*")
IF(CMAKE_SYSTEM MATCHES "OSF1-V.*")
IF(NOT CMAKE_COMPILER_IS_GNUCXX)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -timplicit_local -no_implicit_include ")