NetBSD/sys/arch/amd64/include/Makefile.inc
pooka 972900e4ca Move -mcmodel=kernel CFLAGS from bsd.klinks.mk to amd64/include/Makefile.inc
to avoid having the kernel toolchain flags split over a billion different
files.
2009-11-27 13:50:29 +00:00

11 lines
204 B
Makefile

# $NetBSD: Makefile.inc,v 1.3 2009/11/27 13:50:29 pooka Exp $
CFLAGS+= -mno-red-zone
# this should really be !(RUMPKERNEL && PIC)
.if !defined(RUMPKERNEL)
CFLAGS+= -mcmodel=kernel
.endif
USE_SSP?= yes