1a086c6b25
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.
11 lines
262 B
Makefile
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
|