|
|
@ -1352,10 +1352,10 @@ endif( )
|
|
|
|
|
|
|
|
|
|
|
|
macro( tde_setup_architecture_flags )
|
|
|
|
macro( tde_setup_architecture_flags )
|
|
|
|
message( STATUS "Detected ${CMAKE_SYSTEM_PROCESSOR} CPU architecture" )
|
|
|
|
message( STATUS "Detected ${CMAKE_SYSTEM_PROCESSOR} CPU architecture" )
|
|
|
|
## Immediate symbol binding is not available on ARM architectures
|
|
|
|
## Immediate symbol binding is available only for gcc but not on ARM architectures
|
|
|
|
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES arm*)
|
|
|
|
if( ${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU" AND NOT ${CMAKE_SYSTEM_PROCESSOR} MATCHES arm* )
|
|
|
|
set( LINKER_IMMEDIATE_BINDING_FLAGS "" CACHE INTERNAL "" FORCE )
|
|
|
|
|
|
|
|
else( )
|
|
|
|
|
|
|
|
set( LINKER_IMMEDIATE_BINDING_FLAGS "-z\ now" CACHE INTERNAL "" FORCE )
|
|
|
|
set( LINKER_IMMEDIATE_BINDING_FLAGS "-z\ now" CACHE INTERNAL "" FORCE )
|
|
|
|
|
|
|
|
else( )
|
|
|
|
|
|
|
|
set( LINKER_IMMEDIATE_BINDING_FLAGS "" CACHE INTERNAL "" FORCE )
|
|
|
|
endif( )
|
|
|
|
endif( )
|
|
|
|
endmacro( )
|
|
|
|
endmacro( )
|
|
|
|