mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 18:58:22 +00:00
Make sure we support nested functions and generation of trampolines
under OpenBSD. (closes issue #13724) Reported by: mvanbaak git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150971 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
6
Makefile
6
Makefile
@@ -262,7 +262,7 @@ ifeq ($(OSARCH),NetBSD)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(OSARCH),OpenBSD)
|
ifeq ($(OSARCH),OpenBSD)
|
||||||
ASTCFLAGS+=-pthread
|
ASTCFLAGS+=-pthread -ftrampolines
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(OSARCH),SunOS)
|
ifeq ($(OSARCH),SunOS)
|
||||||
@@ -310,6 +310,10 @@ ifeq ($(OSARCH),SunOS)
|
|||||||
SOLINK=-shared -fpic -L/usr/local/ssl/lib -lrt
|
SOLINK=-shared -fpic -L/usr/local/ssl/lib -lrt
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(OSARCH),OpenBSD)
|
||||||
|
SOLINK=-shared -fpic
|
||||||
|
endif
|
||||||
|
|
||||||
# comment to print directories during submakes
|
# comment to print directories during submakes
|
||||||
#PRINT_DIR=yes
|
#PRINT_DIR=yes
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user