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:
parent
0ca6c9c4d5
commit
d9944f3152
|
@ -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 must correspond to the top of the 'sys' tree
|
||||||
S= ${.CURDIR}/../../../..
|
S= ${.CURDIR}/../../../..
|
||||||
|
@ -19,7 +19,7 @@ mips:
|
||||||
BINMODE?= 444
|
BINMODE?= 444
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/../common
|
.PATH: ${.CURDIR}/../common
|
||||||
AFLAGS+= -D_LOCORE -D_KERNEL
|
AFLAGS+= -D_LOCORE -D_KERNEL -mno-abicalls
|
||||||
# -I${.CURDIR}/../.. done by Makefile.inc
|
# -I${.CURDIR}/../.. done by Makefile.inc
|
||||||
CPPFLAGS+= -nostdinc -D_STANDALONE -DNO_ABICALLS -D_NO_PROM_DEFINES \
|
CPPFLAGS+= -nostdinc -D_STANDALONE -DNO_ABICALLS -D_NO_PROM_DEFINES \
|
||||||
-I${.OBJDIR} -I${S}
|
-I${.OBJDIR} -I${S}
|
||||||
|
|
Loading…
Reference in New Issue