Mercurial > mxe-octave
comparison src/cunit.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 | 5ef49fb3299d |
comparison
equal
deleted
inserted
replaced
3012:100e618349f7 | 3013:bcc26ffe9a0f |
---|---|
15 head -1 | 15 head -1 |
16 endef | 16 endef |
17 | 17 |
18 define $(PKG)_BUILD | 18 define $(PKG)_BUILD |
19 cd '$(1)' && ./configure \ | 19 cd '$(1)' && ./configure \ |
20 --host='$(TARGET)' \ | 20 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
21 $(ENABLE_SHARED_OR_STATIC) \ | 21 $(ENABLE_SHARED_OR_STATIC) \ |
22 --prefix='$(HOST_PREFIX)' | 22 --prefix='$(HOST_PREFIX)' |
23 $(MAKE) -C '$(1)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= defexec_DATA= | 23 $(MAKE) -C '$(1)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= defexec_DATA= |
24 endef | 24 endef |