diff options
-rw-r--r-- | eclass/mpi-select-r1.eclass | 4 | ||||
-rw-r--r-- | eclass/mpi-select.eclass | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/eclass/mpi-select-r1.eclass b/eclass/mpi-select-r1.eclass index 2e36b0a..78ebe94 100644 --- a/eclass/mpi-select-r1.eclass +++ b/eclass/mpi-select-r1.eclass @@ -6,7 +6,7 @@ # Michael Gilroy <michael.gilroy24@gmail.com> # @BLURB: Allow mpi software to select mpi implementation of choice. -inherit multilib +inherit multilib flag-o-matic EXPORT_FUNCTIONS src_configure src_compile src_test src_install @@ -125,6 +125,8 @@ mpi-select_etcdir() mpi_src_configure() { + append-cflags -std=gnu89 + if [[ "${imp}" == "mpich" ]]; then local c= if use mpi-threads; then diff --git a/eclass/mpi-select.eclass b/eclass/mpi-select.eclass index 87a6054..17f93fc 100644 --- a/eclass/mpi-select.eclass +++ b/eclass/mpi-select.eclass @@ -6,7 +6,7 @@ # Michael Gilroy <michael.gilroy24@gmail.com> # @BLURB: Allow mpi software to select mpi implementation of choice. -inherit multilib +inherit multilib flag-o-matic EXPORT_FUNCTIONS src_configure src_compile src_test src_install @@ -108,6 +108,8 @@ mpi-select_src_configure() { debug-print-function "${FUNCNAME}" "${@}" + append-cflags -std=gnu89 + mpi-select_abi_src_configure() { debug-print-function "${FUNCNAME}" "${@}" |