[asterisk-commits] mvanbaak: trunk r150971 - /trunk/Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Oct 18 05:27:22 CDT 2008


Author: mvanbaak
Date: Sat Oct 18 05:27:22 2008
New Revision: 150971

URL: http://svn.digium.com/view/asterisk?view=rev&rev=150971
Log:
Make sure we support nested functions and generation of trampolines
under OpenBSD.

(closes issue #13724)
Reported by: mvanbaak


Modified:
    trunk/Makefile

Modified: trunk/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/Makefile?view=diff&rev=150971&r1=150970&r2=150971
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Sat Oct 18 05:27:22 2008
@@ -262,7 +262,7 @@
 endif
 
 ifeq ($(OSARCH),OpenBSD)
-  ASTCFLAGS+=-pthread
+  ASTCFLAGS+=-pthread -ftrampolines
 endif
 
 ifeq ($(OSARCH),SunOS)
@@ -308,6 +308,10 @@
 
 ifeq ($(OSARCH),SunOS)
   SOLINK=-shared -fpic -L/usr/local/ssl/lib -lrt
+endif
+
+ifeq ($(OSARCH),OpenBSD)
+  SOLINK=-shared -fpic
 endif
 
 # comment to print directories during submakes




More information about the asterisk-commits mailing list