Mercurial > mxe-octave
comparison Makefile.in @ 3336:5c651d4db00c
[MSVC] Don't use native paths in configure flags.
* Makefile.in (CONFIGURE_CPPFLAGS, CONFIGURE_LDFLAGS): Don't use native
paths. These are already automatically taken care of by clgcc.
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Fri, 29 Nov 2013 18:46:40 -0500 |
parents | 4372645ff7e3 |
children | 290e049823c9 |
comparison
equal
deleted
inserted
replaced
3335:3676b3329fd4 | 3336:5c651d4db00c |
---|---|
240 # not playing nicely and trips over different variable values for | 240 # not playing nicely and trips over different variable values for |
241 # different configuration tags. | 241 # different configuration tags. |
242 HOST_AND_BUILD_CONFIGURE_OPTIONS := \ | 242 HOST_AND_BUILD_CONFIGURE_OPTIONS := \ |
243 CC='$(MXE_CC)' CXX='$(MXE_CXX)' F77='$(MXE_F77)' DLLTOOL='$(MXE_DLLTOOL)' CCAS='$(MXE_CCAS)' \ | 243 CC='$(MXE_CC)' CXX='$(MXE_CXX)' F77='$(MXE_F77)' DLLTOOL='$(MXE_DLLTOOL)' CCAS='$(MXE_CCAS)' \ |
244 CFLAGS='-O2' CXXFLAGS='-O2' ac_cv_f77_compiler_gnu=no RANLIB='$(MXE_RANLIB)' | 244 CFLAGS='-O2' CXXFLAGS='-O2' ac_cv_f77_compiler_gnu=no RANLIB='$(MXE_RANLIB)' |
245 # Use native paths for compiler flags. | 245 # CLGCC wrappers automatically adjust INCLUDE and LIB variables. |
246 CONFIGURE_CPPFLAGS := CPPFLAGS='-I$(HOST_PREFIX_NATIVE)/include' | 246 CONFIGURE_CPPFLAGS := |
247 CONFIGURE_LDFLAGS := LDFLAGS='-L$(HOST_PREFIX_NATIVE)/lib' | 247 CONFIGURE_LDFLAGS := |
248 else | 248 else |
249 MXE_AR := ar | 249 MXE_AR := ar |
250 MXE_RANLIB := ranlib | 250 MXE_RANLIB := ranlib |
251 MXE_CC := gcc | 251 MXE_CC := gcc |
252 MXE_CCAS := gcc | 252 MXE_CCAS := gcc |