summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/arch/i386/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/i386/Makefile b/src/arch/i386/Makefile
index ca2583303..8314f26da 100644
--- a/src/arch/i386/Makefile
+++ b/src/arch/i386/Makefile
@@ -54,6 +54,8 @@ CFLAGS += -m32
ASFLAGS += --32
ifeq ($(HOST_OS),FreeBSD)
LDFLAGS += -m elf_i386_fbsd
+else ifeq ($(HOST_OS),OpenBSD)
+LDFLAGS += -m elf_i386_obsd
else
LDFLAGS += -m elf_i386
endif