summaryrefslogtreecommitdiffstats
path: root/etc/defaults
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-11-02 22:14:59 +0000
committerobrien <obrien@FreeBSD.org>2000-11-02 22:14:59 +0000
commitef3e62ce27abe459fc1ab2462ee62e694cf33d88 (patch)
tree25fd538abdbfd98642a806e6fcad0a0c7d2d3d91 /etc/defaults
parent8e9f33e1ce2a8ec7d527ae256a6424a60e6e1c3b (diff)
downloadFreeBSD-src-ef3e62ce27abe459fc1ab2462ee62e694cf33d88.zip
FreeBSD-src-ef3e62ce27abe459fc1ab2462ee62e694cf33d88.tar.gz
State that using optimization level above -O for kernel builds isn't smart.
Diffstat (limited to 'etc/defaults')
-rw-r--r--etc/defaults/make.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/defaults/make.conf b/etc/defaults/make.conf
index b2affec..78dfd94 100644
--- a/etc/defaults/make.conf
+++ b/etc/defaults/make.conf
@@ -36,7 +36,9 @@ BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \
-Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings
#
# To compile just the kernel with special optimisations, you should use
-# this instead of CFLAGS (which is not applicable to kernel builds anyway):
+# this instead of CFLAGS (which is not applicable to kernel builds anyway).
+# There is very little to gain by using higher optimization levels, and doing
+# so can cause problems.
#
#COPTFLAGS= -O -pipe
#
OpenPOWER on IntegriCloud