| Commit | Line | Data |
|---|---|---|
| d7f50089 | 1 | # $FreeBSD: src/sys/conf/kern.mk,v 1.52 2007/05/24 21:53:42 obrien Exp $ |
| c8fe38ae | 2 | # $DragonFly: src/sys/platform/pc64/conf/kern.mk,v 1.2 2008/08/29 17:07:15 dillon Exp $ |
| d7f50089 YY |
3 | |
| 4 | # | |
| 5 | # Warning flags for compiling the kernel and components of the kernel. | |
| 6 | # | |
| c1543a89 | 7 | # For x86_64, we explicitly prohibit the use of FPU, SSE and other SIMD |
| d7f50089 YY |
8 | # operations inside the kernel itself. These operations are exclusively |
| 9 | # reserved for user applications. | |
| 10 | # | |
| 11 | CFLAGS+= -mpreferred-stack-boundary=4 | |
| 67553e72 | 12 | CFLAGS+= -mcmodel=kernel -mno-red-zone \ |
| c8fe38ae MD |
13 | -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow \ |
| 14 | -msoft-float -fno-asynchronous-unwind-tables \ | |
| 15 | -fno-omit-frame-pointer | |
| d7f50089 | 16 | INLINE_LIMIT?= 8000 |