From f6eec1d12a63cb6a1fd2e9aaef3fdead98f785ad Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Tue, 31 Jul 2007 12:07:01 +0000 Subject: [PATCH] INTEGRATION: CWS configure21 (1.20.40); FILE MERGED 2007/07/09 23:21:42 rene 1.20.40.2: #i10000# both also here 2007/05/06 16:08:51 rene 1.20.40.1: support --hash-style= from binutils --- solenv/inc/unxlngs.mk | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/solenv/inc/unxlngs.mk b/solenv/inc/unxlngs.mk index bc5f377fb72d..48c1e717cda3 100644 --- a/solenv/inc/unxlngs.mk +++ b/solenv/inc/unxlngs.mk @@ -4,9 +4,9 @@ # # $RCSfile: unxlngs.mk,v $ # -# $Revision: 1.20 $ +# $Revision: 1.21 $ # -# last change: $Author: obo $ $Date: 2007-03-09 09:10:26 $ +# last change: $Author: hr $ $Date: 2007-07-31 13:07:01 $ # # The Contents of this file are made available subject to # the terms of GNU Lesser General Public License Version 2.1. @@ -79,6 +79,11 @@ CFLAGSENABLESYMBOLS=-g1 .ELSE CFLAGSENABLESYMBOLS=-g .ENDIF +.IF "$(HAVE_LD_HASH_STYLE)" == "TRUE" +LINKFLAGS += -Wl,--hash-style=both +.ELSE +LINKFLAGS += -Wl,-zdynsort +.ENDIF # flags for the C++ Compiler CFLAGSCC= -pipe $(ARCH_FLAGS)