Mercurial > mxe-octave
diff Makefile.in @ 3087:3663f6300abf
[MSVC] enable FFTW compilation
- fix cc-msvc when all input files are pushed into @-files by libtool
- make libtool think clgfortran is not the GNU Fortran compiler
- don't bother compiling long-double version of FFTW, MSVC does not support
long double type, it's typedef'ed to double
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Mon, 24 Jun 2013 22:10:13 -0400 |
parents | c0222ce8760d |
children | 034f830a5823 |
line wrap: on
line diff
--- a/Makefile.in Mon Jun 24 13:28:33 2013 -0400 +++ b/Makefile.in Mon Jun 24 22:10:13 2013 -0400 @@ -166,9 +166,13 @@ MXE_WINDRES := windres MXE_PKG_CONFIG := pkg-config MXE_QMAKE := qmake + # Although the Fortran compiler is internally gfortran, we still + # want to make it look like non-GNU compiler, otherwise libtool is + # not playing nicely and trips over different variable values for + # different configuration tags. HOST_AND_BUILD_CONFIGURE_OPTIONS := \ CC='$(MXE_CC)' CXX='$(MXE_CXX)' F77='$(MXE_F77)' DLLTOOL='$(MXE_DLLTOOL)' CCAS='gcc' \ - CFLAGS='-O2' CXXFLAGS='-O2' + CFLAGS='-O2' CXXFLAGS='-O2' ac_cv_f77_compiler_gnu=no else MXE_AR := ar MXE_RANLIB := ranlib