package/openmpi: fix fortran build

Fix the following build failure with fortran raised since bump to
version 4.0.0 in commit 366e7f1ecb and
99730f798b:

checking size of Fortran type(test_mpi_handle)... (cached) 4
checking alignment of Fortran type(test_mpi_handle)... configure: error: Can not determine alignment of type(test_mpi_handle) when cross-compiling

Fixes:
 - http://autobuild.buildroot.org/results/86ffde2f67ffc0bfaeebe72fe742a5c241bc580b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit fc7eaf3bee)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2021-08-31 18:53:04 +02:00 committed by Peter Korsgaard
parent ae40953bc4
commit bd112c6928
2 changed files with 2 additions and 0 deletions

View File

@ -49,3 +49,4 @@ ompi_cv_fortran_kind_value_C_DOUBLE=8
ompi_cv_fortran_kind_value_C_DOUBLE_COMPLEX=8
ompi_cv_fortran_true_value=1
ompi_cv_fortran_sizeof_type_test_mpi_handle_=4
ompi_cv_fortran_alignment_type_test_mpi_handle_=4

View File

@ -58,3 +58,4 @@ ompi_cv_fortran_kind_value_0=0
ompi_cv_real16_c_equiv=yes
ompi_cv_fortran_true_value=1
ompi_cv_fortran_sizeof_type_test_mpi_handle_=4
ompi_cv_fortran_alignment_type_test_mpi_handle_=4