NetBSD/sys/arch/mips/include/Makefile.inc
mrg 1a086c6b25 introduce an additional switch to enable building GCC3 instead of GCC2:
HAVE_GCC3.  if this is set, we also set USE_TOOLS_TOOLCHAIN=no.  change
the definition of the former to be restricted to whether tools/toolchain
is used or not.
2003-08-27 16:03:17 +00:00

11 lines
262 B
Makefile

# $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