Deleted Added
full compact
kern.mk (178932) kern.mk (180012)
1# $FreeBSD: head/sys/conf/kern.mk 178932 2008-05-10 20:46:07Z ache $
1# $FreeBSD: head/sys/conf/kern.mk 180012 2008-06-25 21:33:28Z ru $
2
3#
4# Warning flags for compiling the kernel and components of the kernel.
5#
6# Note that the newly added -Wcast-qual is responsible for generating
7# most of the remaining warnings. Warnings introduced with -Wall will
8# also pop up, but are easier to fix.
9.if ${CC} == "icc"

--- 91 unchanged lines hidden (view full) ---

101CFLAGS+= -nolib_inline
102.else
103CFLAGS+= -ffreestanding
104.endif
105
106.if ${CC} == "icc"
107CFLAGS+= -restrict
108.endif
2
3#
4# Warning flags for compiling the kernel and components of the kernel.
5#
6# Note that the newly added -Wcast-qual is responsible for generating
7# most of the remaining warnings. Warnings introduced with -Wall will
8# also pop up, but are easier to fix.
9.if ${CC} == "icc"

--- 91 unchanged lines hidden (view full) ---

101CFLAGS+= -nolib_inline
102.else
103CFLAGS+= -ffreestanding
104.endif
105
106.if ${CC} == "icc"
107CFLAGS+= -restrict
108.endif
109
110#
111# GCC SSP support.
112#
113.if ${MK_SSP} != "no" && ${CC} != "icc" && ${MACHINE_ARCH} != "ia64"
114CFLAGS+= -fstack-protector
115.endif