From 845c910e039d42f6657dab711da1cd8f1559cad8 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Tue, 14 Oct 2008 10:33:14 +0000 Subject: [PATCH] Merged revisions 148736 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r148736 | kpfleming | 2008-10-14 12:30:54 +0200 (Tue, 14 Oct 2008) | 3 lines 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/trunk@148738 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ad8a018477..ce901e2a03 100644 --- a/Makefile +++ b/Makefile @@ -300,7 +300,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