more header changes for amd64 port; the pc64 building infrastructure
[dragonfly/port-amd64.git] / sys / platform / pc64 / conf / kern.mk
blob168811e6303fb03b2647290dbc2eb0881ea045ea
1 # $FreeBSD: src/sys/conf/kern.mk,v 1.52 2007/05/24 21:53:42 obrien Exp $
2 # $DragonFly: src/sys/platform/pc64/conf/kern.mk,v 1.1 2007/09/23 04:29:31 yanyh Exp $
5 # Warning flags for compiling the kernel and components of the kernel.
7 # For AMD64, we explicitly prohibit the use of FPU, SSE and other SIMD
8 # operations inside the kernel itself. These operations are exclusively
9 # reserved for user applications.
11 CFLAGS+= -mpreferred-stack-boundary=4
12 CFLAGS+= -mcmodel=kernel -mno-red-zone \
13 -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow \
14 -msoft-float -fno-asynchronous-unwind-tables
15 INLINE_LIMIT?= 8000