Mercurial > mxe-octave
changeset 3063:3b4f71898e4b
[MSVC] Force use of -O2 for CFLAGS and CXXFLAGS.
By default, configure scripts will use -g, but this will produce
sub-optimal code for MSVC.
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Mon, 17 Jun 2013 22:43:18 -0400 |
parents | 4c047285ea8a |
children | be70678cc47b |
files | Makefile.in |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.in Mon Jun 17 22:43:14 2013 -0400 +++ b/Makefile.in Mon Jun 17 22:43:18 2013 -0400 @@ -163,7 +163,9 @@ MXE_WINDRES := windres MXE_PKG_CONFIG := pkg-config MXE_QMAKE := qmake - HOST_AND_BUILD_CONFIGURE_OPTIONS := CC='$(MXE_CC)' CXX='$(MXE_CXX)' F77='$(MXE_F77)' DLLTOOL='$(MXE_DLLTOOL)' + HOST_AND_BUILD_CONFIGURE_OPTIONS := \ + CC='$(MXE_CC)' CXX='$(MXE_CXX)' F77='$(MXE_F77)' DLLTOOL='$(MXE_DLLTOOL)' \ + CFLAGS='-O2' CXXFLAGS='-O2' else MXE_AR := ar MXE_RANLIB := ranlib