summaryrefslogtreecommitdiff
path: root/sys/arch/mips/include/Makefile.inc
blob: 5b67009fa113824ea6b2aeebd0edd539aac9a727 (plain)
1
2
3
4
5
6
7
8
9
10
11
# $NetBSD: Makefile.inc,v 1.11 2021/03/23 11:56:55 simonb Exp $

CFLAGS+=	-G 0 -ffixed-24

# this should really be !(RUMPKERNEL && target=PIC)
.if !defined(RUMPKERNEL)
CFLAGS+=	-mno-abicalls
AFLAGS+=	-mno-abicalls
.endif

AFLAGS+=	-x assembler-with-cpp ${AOPTS}