The -Os kernel build with GCC 3.3.1 also requires -fno-strict-aliasing

to survive.

Discussed with:	bde
Tested on:	i386 and pc98
This commit is contained in:
Ruslan Ermilov 2003-07-30 14:46:46 +00:00
parent 9b72ad91bf
commit 74345a8f83
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=118210

View File

@ -1051,7 +1051,8 @@ doMFSKERN:
cd ${.CURDIR}/..; \
KERNEL_KO=BOOTMFS KODIR= \
${CROSSMAKE} ${KERNEL_FLAGS} -DNO_MODULES -DNO_KERNELCLEAN \
KERNCONF=BOOTMFS COPTFLAGS="-Os -pipe" -DNO_CPU_COPTFLAGS \
KERNCONF=BOOTMFS COPTFLAGS="-Os -fno-strict-aliasing -pipe" \
-DNO_CPU_COPTFLAGS \
buildkernel reinstallkernel \
DESTDIR=${RD}/kernels
[ -r ${.CURDIR}/../sys/${TARGET}/conf/BOOTMFS.hints ] && \