From 4b3bc7e3799ab3790b2784d14bf4691cde752ae4 Mon Sep 17 00:00:00 2001 From: kpfleming Date: Tue, 14 Oct 2008 10:30:54 +0000 Subject: 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: http://svn.digium.com/svn/asterisk/branches/1.4@148736 f38db490-d61c-443f-a65b-d21fe96a405b --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index bb4adcb62..c8c8911bb 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 -- cgit v1.2.3