Skip to content
Snippets Groups Projects
Commit 357f4a9a authored by Michiel van Baak's avatar Michiel van Baak
Browse files

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
parent b0d56687
No related merge requests found
......@@ -262,7 +262,7 @@ ifeq ($(OSARCH),NetBSD)
endif
ifeq ($(OSARCH),OpenBSD)
ASTCFLAGS+=-pthread
ASTCFLAGS+=-pthread -ftrampolines
endif
ifeq ($(OSARCH),SunOS)
......@@ -310,6 +310,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
#PRINT_DIR=yes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment