Mercurial > mxe-octave
comparison src/libsigc++.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 | 951da75fd09c |
comparison
equal
deleted
inserted
replaced
3012:100e618349f7 | 3013:bcc26ffe9a0f |
---|---|
16 head -1 | 16 head -1 |
17 endef | 17 endef |
18 | 18 |
19 define $(PKG)_BUILD | 19 define $(PKG)_BUILD |
20 cd '$(1)' && ./configure \ | 20 cd '$(1)' && ./configure \ |
21 --host='$(TARGET)' \ | 21 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
22 --build="`config.guess`" \ | |
23 $(ENABLE_SHARED_OR_STATIC) \ | 22 $(ENABLE_SHARED_OR_STATIC) \ |
24 --prefix='$(HOST_PREFIX)' \ | 23 --prefix='$(HOST_PREFIX)' \ |
25 CXX='$(TARGET)-c++' \ | 24 CXX='$(TARGET)-c++' \ |
26 PKG_CONFIG='$(BUILD_TOOLS_PREFIX)/bin/$(TARGET)-pkg-config' \ | 25 PKG_CONFIG='$(BUILD_TOOLS_PREFIX)/bin/$(TARGET)-pkg-config' \ |
27 MAKE=$(MAKE) | 26 MAKE=$(MAKE) |