diff options
author | Bruce Evans <bde@FreeBSD.org> | 2004-05-12 22:53:52 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 2004-05-12 22:53:52 +0000 |
commit | 8d962594e1cc34fc8ed652410e42810649373cdc (patch) | |
tree | 2f82bff683339089a02b1f6adcae8b1fb064dd37 /share/mk | |
parent | 88d2251a9158436c3d8af62c6a68a2b6641d0330 (diff) | |
download | src-8d962594e1cc34fc8ed652410e42810649373cdc.tar.gz src-8d962594e1cc34fc8ed652410e42810649373cdc.zip |
Moved FreeBSD build pollution (/etc/make.conf) and zombie aout support
(OBJFORMAT) into a non-POSIX section.
Notes
Notes:
svn path=/head/; revision=129163
Diffstat (limited to 'share/mk')
-rw-r--r-- | share/mk/sys.mk | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/share/mk/sys.mk b/share/mk/sys.mk index 7dcd90ef28c7..51ec2aa14226 100644 --- a/share/mk/sys.mk +++ b/share/mk/sys.mk @@ -109,6 +109,7 @@ YFLAGS ?= -d MACHINE_ARCH ?= i386 .if defined(%POSIX) + # Posix 1003.2 mandated rules # # Quoted directly from the Posix 1003.2 draft, only the macros @@ -252,15 +253,16 @@ MACHINE_ARCH ?= i386 ${CC} ${CFLAGS} ${LDFLAGS} ${.PREFIX}.tmp.c ${LDLIBS} -ll -o ${.TARGET} rm -f ${.PREFIX}.tmp.c -.endif - +# FreeBSD build pollution. Hide it in the non-POSIX part of the ifdef. __MAKE_CONF?=/etc/make.conf .if exists(${__MAKE_CONF}) .include "${__MAKE_CONF}" .endif -.include <bsd.cpu.mk> - # Default executable format # XXX hint for bsd.port.mk OBJFORMAT?= elf + +.endif + +.include <bsd.cpu.mk> |