diff options
author | obrien <obrien@FreeBSD.org> | 2001-08-16 06:05:18 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-08-16 06:05:18 +0000 |
commit | cd3f3aab8e337abe90764fb04a24c977624fdecd (patch) | |
tree | 025a5ff5558a3dc152596f4912bf98e8b818132e /share/examples/etc | |
parent | cd8f761f0ab2cc4e533f738ed4bcf1712cb5b6ce (diff) | |
download | FreeBSD-src-cd3f3aab8e337abe90764fb04a24c977624fdecd.zip FreeBSD-src-cd3f3aab8e337abe90764fb04a24c977624fdecd.tar.gz |
Add the `WANT_FORCE_OPTIMIZATION_DOWNGRADE' knob. If set to an integer
value, it forces GCC to not optimize above this level. For intance, GCC
made with "WANT_FORCE_OPTIMIZATION_DOWNGRADE=1" is a good setting for the
Alpha platform when building ports.
Diffstat (limited to 'share/examples/etc')
-rw-r--r-- | share/examples/etc/make.conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/share/examples/etc/make.conf b/share/examples/etc/make.conf index ca68587..683f286 100644 --- a/share/examples/etc/make.conf +++ b/share/examples/etc/make.conf @@ -65,6 +65,12 @@ BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \ # #COPTFLAGS= -O -pipe # +# To build the system compiler such that it forces high optimization levels to +# a lower one. GCC -O2+ is known to trigger known optimizer bugs at various +# times -- this is worse on the Alpha platform. The value assigned here will +# be the highest optimization value used. +#WANT_FORCE_OPTIMIZATION_DOWNGRADE=1 +# # Compare before install #INSTALL=install -C # |