|
|
|
@ -1235,3 +1235,17 @@ if( ${CMAKE_SOURCE_DIR} MATCHES ${CMAKE_BINARY_DIR} )
|
|
|
|
|
cd /tmp/${PROJECT_NAME}.build
|
|
|
|
|
cmake ${CMAKE_SOURCE_DIR} [arguments...]" )
|
|
|
|
|
endif( )
|
|
|
|
|
|
|
|
|
|
#################################################
|
|
|
|
|
#####
|
|
|
|
|
##### tde_setup_architecture_flags
|
|
|
|
|
|
|
|
|
|
macro( tde_setup_architecture_flags )
|
|
|
|
|
message( STATUS "Detected ${CMAKE_SYSTEM_PROCESSOR} CPU architecture" )
|
|
|
|
|
## Immediate symbol binding is not available on ARM architectures
|
|
|
|
|
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES arm*)
|
|
|
|
|
set( LINKER_IMMEDIATE_BINDING_FLAGS "" CACHE INTERNAL "" FORCE )
|
|
|
|
|
else( )
|
|
|
|
|
set( LINKER_IMMEDIATE_BINDING_FLAGS "-z\ now" CACHE INTERNAL "" FORCE )
|
|
|
|
|
endif( )
|
|
|
|
|
endmacro( )
|
|
|
|
|