From 35a5224b3a5fd4d8d0955deea9f123d1634f82b4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Fabbro?= Date: Wed, 19 Jan 2011 10:25:23 -0800 Subject: [PATCH] make.conf.example: document FFLAGS and FCFLAGS --- cnf/make.conf | 11 ++++++++++- cnf/make.conf.hppa.diff | 18 +++++++++--------- 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/cnf/make.conf b/cnf/make.conf index 255cff221..9e06d5775 100644 --- a/cnf/make.conf +++ b/cnf/make.conf @@ -1,4 +1,4 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # Contains local system settings for Portage system @@ -39,6 +39,15 @@ # If you set a CFLAGS above, then this line will set your default C++ flags to # the same settings. #CXXFLAGS="${CFLAGS}" +# +# If you set a CFLAGS above, then this line will set your default FORTRAN 77 +# flags to the same settings. +#FFLAGS="${CFLAGS}" +# +# If you set a FFLAGS above, then this line will set your default FORTRAN +# flags to the same settings for modern build systems +#FCFLAGS="${FFLAGS}" + # Advanced Masking # ================ diff --git a/cnf/make.conf.hppa.diff b/cnf/make.conf.hppa.diff index a3d0147be..a1fa5ef7b 100644 --- a/cnf/make.conf.hppa.diff +++ b/cnf/make.conf.hppa.diff @@ -39,27 +39,27 @@ -#CFLAGS="-O2 -pipe" +# Decent examples: # -+ ++# +# Use this one if you have a hppa1.1 +#CFLAGS="-march=1.1 -O2 -pipe -mschedule=7100LC" -+ ++# +# Or this one if you have a hppa2.0 +# Note that -march=2.0 was unstable on some stations. +# -march=1.0 will create problems too. +#CFLAGS="-O2 -pipe -mschedule=8000" -+ -+ ++# ++# # If you set a CFLAGS above, then this line will set your default C++ flags to # the same settings. #CXXFLAGS="${CFLAGS}" - + # +# Btw it's recommended to use this setting for stability. +# There are still many bugs with higher level of optimisation. +#CXXFLAGS="-O1 -pipe" -+ - # Advanced Masking - # ================ - # ++# + # If you set a CFLAGS above, then this line will set your default FORTRAN 77 + # flags to the same settings. + #FFLAGS="${CFLAGS}" @@ -61,7 +97,7 @@ # DO NOT PUT ANYTHING BUT YOUR SPECIFIC ~ARCHITECTURE IN THE LIST. # IF YOU ARE UNSURE OF YOUR ARCH, OR THE IMPLICATIONS, DO NOT MODIFY THIS. -- 2.26.2