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:
parent
bab4bcb570
commit
d73794f814
|
@ -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 ")
|
||||
|
|
Loading…
Reference in New Issue