Add potential workaround for Solaris SIGBUS
parent
8ded8bc38d
commit
c25edcaff3
|
|
@ -237,6 +237,11 @@ if ((NOT CRYPTOPP_CROSS_COMPILE) AND "${UNAME_SYSTEM}" STREQUAL "SunOS")
|
||||||
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "SunPro")
|
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "SunPro")
|
||||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -template=no%extdef")
|
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -template=no%extdef")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# Try this if you are encountering unexplained SIGBUS'es
|
||||||
|
# even when DBX reports the memory is aligned.
|
||||||
|
# SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -xmemalign=8i")
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Link is driven through the compiler, but CXXFLAGS are not used. Also see
|
# Link is driven through the compiler, but CXXFLAGS are not used. Also see
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue