The basic idea here is to compare arch flags the Fortran compiler supports with the ones the C compiler receives, and throw out any superfluous ones.
… the platform functions are flaky
…on Windows, because of apparently broken C runtime in the python.org binaries (cherry picked from commit 3747ab5)
(cherry picked from commit 98484bb)
… on python.org.
The failure only occurs on Windows and Python 2.5, there the printing of floating point numbers is slightly different. Since this is a doctest and can not be marked conditionally as knownfail, just removing it is simplest. It's not a bug anyway.
) (cherry picked from commit 8630830)
(cherry picked from commit f719a42e879d24900cfd41cffad92b422b5f2ac2)
(cherry picked from commit 4510c4a)
(cherry picked from commit 7b7bbc5)