diff options
author | Michael Gilroy <michael.gilroy24@gmail.com> | 2017-07-07 10:05:17 +0000 |
---|---|---|
committer | Michael Gilroy <michael.gilroy24@gmail.com> | 2017-07-07 10:05:17 +0000 |
commit | c66c99b7db88ecb450e12124ed3f7724a123a4d3 (patch) | |
tree | 7a1d1aa38f6182c2d2817a1b802b6f4a9fee53dd | |
parent | setting mpich-specific econf & src_install (diff) | |
download | gentoo-mpi-c66c99b7db88ecb450e12124ed3f7724a123a4d3.tar.gz gentoo-mpi-c66c99b7db88ecb450e12124ed3f7724a123a4d3.tar.bz2 gentoo-mpi-c66c99b7db88ecb450e12124ed3f7724a123a4d3.zip |
gcc 5 needs cflags and flag-o-matic inherit
-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}" "${@}" |