local.conf.sample.extended: update fortran example
PATCH 1/1 local.conf.sample.extended: update fortran example
Since Whinlatter [1], FORTRAN is set by a weak assignment, so the ':forcevariable' is no longer needed.
Update the example accordingly, and replace the outdated comments above.
[1]: https://git.openembedded.org/openembedded-core/commit/?id=50abae55eda0115d073bbc6552f2fcb4ecbb7949
Signed-off-by João Marcos Costa <[email protected]>
--- meta/conf/templates/default/local.conf.sample.extended | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
meta/conf/templates/default/local.conf.sample.extended +3 -4
@@ -305,10 +305,9 @@ #USERADD_ERROR_DYNAMIC = "1" # Enabling FORTRAN -# Note this is not officially supported and is just illustrated here to -# show an example of how it can be done -# You'll also need your fortran recipe to depend on libgfortran -#FORTRAN:forcevariable = ",fortran" +# This variable will fall into LANGUAGES variable (i.e., "c,c++${FORTRAN}"), +# which is then consumed in gcc-configure-common.inc. +#FORTRAN = ",fortran" # # Kernel image features
Signature · 1 line
2.47.0