From: Kevin P. Fleming Date: Tue, 14 Oct 2008 10:30:54 +0000 (+0000) Subject: on Ubuntu (at least), recent versions of ld in binutils delete all debugging symbols... X-Git-Tag: 1.4.23-rc1~45 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5c7f06103d911f39dd2b434c25556112fe5fd2a3;p=thirdparty%2Fasterisk.git on Ubuntu (at least), recent versions of ld in binutils delete all debugging symbols when -x is supplied; since the reasons why -x is being passed are lost in the mists of time, remove it so debugging will work properly git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@148736 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/Makefile b/Makefile index bb4adcb62c..c8c8911bbb 100644 --- a/Makefile +++ b/Makefile @@ -269,7 +269,7 @@ ifneq ($(findstring darwin,$(OSARCH)),) SOLINK=-dynamic -bundle -undefined suppress -force_flat_namespace else # These are used for all but Darwin - SOLINK=-shared -Xlinker -x + SOLINK=-shared ifneq ($(findstring BSD,$(OSARCH)),) LDFLAGS+=-L/usr/local/lib endif