|
|
|
@ -42,16 +42,7 @@ Index: tdenetwork/cmake/modules/TDEMacros.cmake
|
|
|
|
|
===================================================================
|
|
|
|
|
--- tdenetwork.orig/cmake/modules/TDEMacros.cmake
|
|
|
|
|
+++ tdenetwork/cmake/modules/TDEMacros.cmake
|
|
|
|
|
@@ -833,7 +833,7 @@ macro( tde_add_library _arg_target )
|
|
|
|
|
|
|
|
|
|
# set embedded archives
|
|
|
|
|
if( _embed )
|
|
|
|
|
- list( INSERT _link 0 -Wl,-whole-archive ${_embed} -Wl,-no-whole-archive )
|
|
|
|
|
+ list( INSERT _link 0 -Wl,-zallextract ${_embed} -Wl,-zdefaultextract )
|
|
|
|
|
endif( _embed )
|
|
|
|
|
|
|
|
|
|
# set link libraries
|
|
|
|
|
@@ -1878,7 +1878,7 @@ macro( tde_setup_architecture_flags )
|
|
|
|
|
@@ -2185,7 +2185,7 @@ macro( tde_setup_architecture_flags )
|
|
|
|
|
check_cxx_compiler_flag( -fPIE HAVE_PIE_SUPPORT )
|
|
|
|
|
if( HAVE_PIE_SUPPORT )
|
|
|
|
|
set( TDE_PIE_CFLAGS -fPIE )
|
|
|
|
|