mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 23:05:49 +01:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42731
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user