diff options
author | eadler <eadler@FreeBSD.org> | 2012-12-11 18:39:53 +0000 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2012-12-11 18:39:53 +0000 |
commit | 832e89b972db36ebe132adfe2172194dbd67b127 (patch) | |
tree | 08e5f6b5b9f68950a4479e9125e2d8122e60c60f | |
parent | 450ba697f2fbc4b58a020694d2e5568161cafdd3 (diff) | |
download | FreeBSD-src-832e89b972db36ebe132adfe2172194dbd67b127.zip FreeBSD-src-832e89b972db36ebe132adfe2172194dbd67b127.tar.gz |
Remove 'dangerous' instructions from the example make.conf.
Clarify when and why these might be used and that this isn't a supported
configuration.
PR: docs/144488
Submitted by: amdmi3
Approved by: cperciva (implicit)
MFC after: 2 weeks
-rw-r--r-- | share/examples/etc/make.conf | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/share/examples/etc/make.conf b/share/examples/etc/make.conf index df5e225..9a74298 100644 --- a/share/examples/etc/make.conf +++ b/share/examples/etc/make.conf @@ -57,21 +57,20 @@ # CFLAGS controls the compiler settings used when compiling C code. # Note that optimization settings other than -O and -O2 are not recommended # or supported for compiling the world or the kernel - please revert any -# nonstandard optimization settings to "-O" or "-O2 -fno-strict-aliasing" +# nonstandard optimization settings # before submitting bug reports without patches to the developers. # -# Compiling with -fstrict-aliasing optimization breaks some [notable] ports. -# GCC turns on -fstrict-aliasing optimization at all levels above -O[1], so -# explicitly turn it off when using compiling with the -O2 optimization level. -# -#CFLAGS= -O2 -fno-strict-aliasing -pipe -# # CXXFLAGS controls the compiler settings used when compiling C++ code. # Note that CXXFLAGS is initially set to the value of CFLAGS. If you wish # to add to CXXFLAGS value, "+=" must be used rather than "=". Using "=" # alone will remove the often needed contents of CFLAGS from CXXFLAGS. # -#CXXFLAGS+= -fconserve-space +# Additional compiler flags can be specified that extend or override +# default ones. However, neither the base system nor ports are guaranteed +# to build and function without problems with non-default settings. +# +# CFLAGS+= -msse3 +# CXXFLAGS+= -msse3 # # MAKE_SHELL controls the shell used internally by make(1) to process the # command scripts in makefiles. Three shells are supported, sh, ksh, and |