need -mno-abicalls in AFLAGS as well, so that .S would be compiled as

non-PIC same way as .c
This commit is contained in:
jdolecek 2002-12-09 12:42:18 +00:00
parent 0ca6c9c4d5
commit d9944f3152
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.booters,v 1.39 2002/12/09 12:20:56 jdolecek Exp $
# $NetBSD: Makefile.booters,v 1.40 2002/12/09 12:42:18 jdolecek Exp $
# $S must correspond to the top of the 'sys' tree
S= ${.CURDIR}/../../../..
@ -19,7 +19,7 @@ mips:
BINMODE?= 444
.PATH: ${.CURDIR}/../common
AFLAGS+= -D_LOCORE -D_KERNEL
AFLAGS+= -D_LOCORE -D_KERNEL -mno-abicalls
# -I${.CURDIR}/../.. done by Makefile.inc
CPPFLAGS+= -nostdinc -D_STANDALONE -DNO_ABICALLS -D_NO_PROM_DEFINES \
-I${.OBJDIR} -I${S}