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:
parent
5d4a8edf37
commit
f6866643a6
@ -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...
|
# Sometimes this is .include'd several times...
|
||||||
@ -15,22 +15,6 @@ OUT_FILE= ${MACHINE_ARCH}.c
|
|||||||
OUT_OBJ= ${MACHINE_ARCH}
|
OUT_OBJ= ${MACHINE_ARCH}
|
||||||
.PATH: ${GCCDIR}/config/${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
|
target= ${MACHINE_ARCH}-unknown-freebsd
|
||||||
version!= sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < ${GCCDIR}/version.c
|
version!= sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < ${GCCDIR}/version.c
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user