Mercurial > mxe-octave
comparison src/popt.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 |
---|---|
17 tail -1 | 17 tail -1 |
18 endef | 18 endef |
19 | 19 |
20 define $(PKG)_BUILD | 20 define $(PKG)_BUILD |
21 cd '$(1)' && ./configure \ | 21 cd '$(1)' && ./configure \ |
22 --host='$(TARGET)' \ | 22 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
23 $(ENABLE_SHARED_OR_STATIC) \ | 23 $(ENABLE_SHARED_OR_STATIC) \ |
24 --prefix='$(HOST_PREFIX)' \ | 24 --prefix='$(HOST_PREFIX)' \ |
25 --enable-nls | 25 --enable-nls |
26 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= | 26 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
27 endef | 27 endef |