Remove BINFORMAT/a.out/elf default hackery, it's elf by default internally

and doesn't need to use this.
This commit is contained in:
Peter Wemm 1999-01-16 13:22:35 +00:00
parent 5d4a8edf37
commit f6866643a6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42731

View File

@ -1,5 +1,5 @@
#
# $Id: Makefile.inc,v 1.23 1998/03/08 05:29:43 peter Exp $
# $Id: Makefile.inc,v 1.24 1998/10/26 18:27:32 imp Exp $
#
# Sometimes this is .include'd several times...
@ -15,22 +15,6 @@ OUT_FILE= ${MACHINE_ARCH}.c
OUT_OBJ= ${MACHINE_ARCH}
.PATH: ${GCCDIR}/config/${MACHINE_ARCH}
.if ${MACHINE_ARCH} != "i386"
BINFORMAT= elf
.else
# Pick aout for now. the elf config is not binary compatable.
BINFORMAT?= aout
#BINFORMAT?= elf
.endif
# same backend, just change compiled-in default.
.if ${BINFORMAT} == aout
CFLAGS+= -DFREEBSD_AOUT
.endif
.if ${BINFORMAT} == elf
CFLAGS+= -DFREEBSD_ELF
.endif
target= ${MACHINE_ARCH}-unknown-freebsd
version!= sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < ${GCCDIR}/version.c