summaryrefslogtreecommitdiff
path: root/sys/arch/mips/include/Makefile.inc
blob: 15a89ce9782e614c5500ec5b0c7df594ae83c9ea (plain)
1
2
3
4
5
6
7
8
9
10
# $NetBSD: Makefile.inc,v 1.3 2003/08/27 16:03:18 mrg Exp $

# Standard kernel compile flags
CFLAGS += -G 0 -mno-abicalls
.if ${HAVE_GCC3} == "no"
CFLAGS += -mno-half-pic
.endif

# Needed so modules loaded in KSEG2 can make calls to KSEG0
CFLAGS += -mlong-calls