|
|
|
@ -184,16 +184,7 @@ Index: tdelibs/cmake/modules/TDEMacros.cmake
|
|
|
|
|
===================================================================
|
|
|
|
|
--- tdelibs.orig/cmake/modules/TDEMacros.cmake
|
|
|
|
|
+++ tdelibs/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
|
|
|
|
|
@@ -1875,11 +1875,11 @@ macro( tde_setup_architecture_flags )
|
|
|
|
|
@@ -2182,11 +2182,11 @@ macro( tde_setup_architecture_flags )
|
|
|
|
|
set( LINKER_IMMEDIATE_BINDING_FLAGS "" CACHE INTERNAL "" FORCE )
|
|
|
|
|
endif( )
|
|
|
|
|
|
|
|
|
|