Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/pgoyette-compat]: src/sys/modules/compat_ibcs2 If compat_ibcs2 is being ...



details:   https://anonhg.NetBSD.org/src/rev/3c19fbb9c839
branches:  pgoyette-compat
changeset: 321011:3c19fbb9c839
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sun Mar 11 22:04:35 2018 +0000

description:
If compat_ibcs2 is being built for i386, make sure we include support
for 32-bit executables

diffstat:

 sys/modules/compat_ibcs2/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r ec5ec65590bb -r 3c19fbb9c839 sys/modules/compat_ibcs2/Makefile
--- a/sys/modules/compat_ibcs2/Makefile Sun Mar 11 11:47:45 2018 +0000
+++ b/sys/modules/compat_ibcs2/Makefile Sun Mar 11 22:04:35 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4 2017/08/09 18:45:30 maxv Exp $
+#      $NetBSD: Makefile,v 1.4.2.1 2018/03/11 22:04:35 pgoyette Exp $
 
 .include "../Makefile.inc"
 .include "../Makefile.assym"
@@ -8,6 +8,10 @@
 CPPFLAGS+=     -DSYSVSHM -DSYSVSEM -DSYSVMSG
 CPPFLAGS+=     -DCOMPAT_IBCS2
 
+.if ${MACHINE_ARCH} == "i386"
+CPPFLAGS+=      -DEXEC_ELF32
+.endif
+
 .PATH: ${S}/compat/ibcs2
 
 SRCS+= ibcs2_errno.c ibcs2_exec.c ibcs2_exec_coff.c ibcs2_exec_elf32.c



Home | Main Index | Thread Index | Old Index