summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2018-10-26 13:49:16 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2018-10-26 13:49:16 +0000
commit92f4974ece21c8250c58d4d862a8f12d8b751abe (patch)
tree1f477dcaa025c63954226ad8e18948d6aee9e5d0 /sys/arch
parentb2ba2474003fb42ff7821e49da76286d06e5f302 (diff)
Correct linker emulation name for lld when building i386 kernels on amd64.
ok kettenis@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/conf/Makefile.i3864
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/conf/Makefile.i386 b/sys/arch/i386/conf/Makefile.i386
index 7ba008c2b37..2a436cf24d7 100644
--- a/sys/arch/i386/conf/Makefile.i386
+++ b/sys/arch/i386/conf/Makefile.i386
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.i386,v 1.128 2018/10/16 16:39:18 naddy Exp $
+# $OpenBSD: Makefile.i386,v 1.129 2018/10/26 13:49:15 naddy Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -52,7 +52,7 @@ LINKFLAGS= -T ld.script -X --warn-common -nopie
.if ${MACHINE} == "amd64"
CFLAGS+= -m32
AFLAGS+= -m32
-LDFLAGS= -melf_i386_obsd
+LDFLAGS= -melf_i386
LINKFLAGS+= ${LDFLAGS}
.endif