aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 96cb55c06..7b017f22f 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