diff --git a/Makefile b/Makefile index 96cb55c068..7b017f22f4 100644 --- a/Makefile +++ b/Makefile @@ -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