DilOS tdenetwork: Refresh DilOS specific patches.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 8263f1c919)
pull/92/head
Slávek Banko 5 years ago
parent 2feadbc3d1
commit 29350db10e
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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 )

Loading…
Cancel
Save