Mercurial > mxe-octave
comparison src/fltk.mk @ 3013:bcc26ffe9a0f
use variable for --host and --build configure arguments
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 02 Jun 2013 12:40:32 -0400 |
parents | 100e618349f7 |
children | b6c7244a2f66 |
comparison
equal
deleted
inserted
replaced
3012:100e618349f7 | 3013:bcc26ffe9a0f |
---|---|
24 cd '$(1)' && autoconf | 24 cd '$(1)' && autoconf |
25 ## $(SED) -i 's,\$$uname,MINGW,g' '$(1)/configure' | 25 ## $(SED) -i 's,\$$uname,MINGW,g' '$(1)/configure' |
26 cd '$(1)' && ./configure \ | 26 cd '$(1)' && ./configure \ |
27 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ | 27 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
28 DSOFLAGS='-L$(HOST_PREFIX)/lib' \ | 28 DSOFLAGS='-L$(HOST_PREFIX)/lib' \ |
29 --host='$(TARGET)' \ | 29 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
30 --build="`config.guess`" \ | |
31 $(ENABLE_SHARED_OR_STATIC) \ | 30 $(ENABLE_SHARED_OR_STATIC) \ |
32 --prefix='$(HOST_PREFIX)' \ | 31 --prefix='$(HOST_PREFIX)' \ |
33 --enable-threads | 32 --enable-threads |
34 ## LIBS='-lws2_32' | 33 ## LIBS='-lws2_32' |
35 # enable exceptions, because disabling them doesn't make any sense on PCs | 34 # enable exceptions, because disabling them doesn't make any sense on PCs |