comparison src/plibc.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 endef 15 endef
16 16
17 define $(PKG)_BUILD 17 define $(PKG)_BUILD
18 chmod 0755 '$(1)/configure' 18 chmod 0755 '$(1)/configure'
19 cd '$(1)' && ./configure \ 19 cd '$(1)' && ./configure \
20 --host='$(TARGET)' \ 20 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
21 --build="`config.guess`" \
22 --prefix='$(HOST_PREFIX)' \ 21 --prefix='$(HOST_PREFIX)' \
23 $(ENABLE_SHARED_OR_STATIC) 22 $(ENABLE_SHARED_OR_STATIC)
24 $(MAKE) -C '$(1)' -j '$(JOBS)' install 23 $(MAKE) -C '$(1)' -j '$(JOBS)' install
25 endef 24 endef