diff options
author | ru <ru@FreeBSD.org> | 2003-07-30 14:46:46 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2003-07-30 14:46:46 +0000 |
commit | 620a1cc125c333f8911ffaff3e1d61c4ae7af2f6 (patch) | |
tree | 37fa3555f5932ef512bdd3d9676f7e30840e08cb /release | |
parent | 00c31c560dc7efbc44dec1790462d7c504464d97 (diff) | |
download | FreeBSD-src-620a1cc125c333f8911ffaff3e1d61c4ae7af2f6.zip FreeBSD-src-620a1cc125c333f8911ffaff3e1d61c4ae7af2f6.tar.gz |
The -Os kernel build with GCC 3.3.1 also requires -fno-strict-aliasing
to survive.
Discussed with: bde
Tested on: i386 and pc98
Diffstat (limited to 'release')
-rw-r--r-- | release/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/Makefile b/release/Makefile index e0f0b6e..e280e0a 100644 --- a/release/Makefile +++ b/release/Makefile @@ -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 ] && \ |