Module Name: src Committed By: pgoyette Date: Sun Mar 11 22:04:35 UTC 2018
Modified Files: src/sys/modules/compat_ibcs2 [pgoyette-compat]: Makefile Log Message: If compat_ibcs2 is being built for i386, make sure we include support for 32-bit executables To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.4.2.1 src/sys/modules/compat_ibcs2/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/modules/compat_ibcs2/Makefile diff -u src/sys/modules/compat_ibcs2/Makefile:1.4 src/sys/modules/compat_ibcs2/Makefile:1.4.2.1 --- src/sys/modules/compat_ibcs2/Makefile:1.4 Wed Aug 9 18:45:30 2017 +++ src/sys/modules/compat_ibcs2/Makefile Sun Mar 11 22:04:35 2018 @@ -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 @@ KMOD= compat_ibcs2 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