- Change the example CFLAGS entry to match our default in sys.mk.
- Document that -fno-strict-aliasing is required for -O2. Prodded by: users of stable@
This commit is contained in:
parent
adab0fdc4f
commit
bb077f2d54
@ -48,10 +48,14 @@
|
||||
# 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 before submitting bug
|
||||
# reports without patches to the developers.
|
||||
# nonstandard optimization settings to "-O" or "-O2 -fno-strict-aliasing"
|
||||
# before submitting bug reports without patches to the developers.
|
||||
#
|
||||
#CFLAGS= -O -pipe
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user