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/ea3709ed1685
branches: pgoyette-compat
changeset: 360122:ea3709ed1685
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 85c3fa00d157 -r ea3709ed1685 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