]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
on Ubuntu (at least), recent versions of ld in binutils delete all debugging symbols...
authorKevin P. Fleming <kpfleming@digium.com>
Tue, 14 Oct 2008 10:30:54 +0000 (10:30 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Tue, 14 Oct 2008 10:30:54 +0000 (10:30 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@148736 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index bb4adcb62c3dbf04a20a8d393e60a2b8005e0bed..c8c8911bbbe48e0529f5fb880386d5cd740712b1 100644 (file)
--- 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