comparison src/guile.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
19 define $(PKG)_BUILD 19 define $(PKG)_BUILD
20 # The setting "scm_cv_struct_timespec=no" ensures that Guile 20 # The setting "scm_cv_struct_timespec=no" ensures that Guile
21 # won't try to use the "struct timespec" from <pthreads.h>, 21 # won't try to use the "struct timespec" from <pthreads.h>,
22 # which would fail because we tell Guile not to use Pthreads. 22 # which would fail because we tell Guile not to use Pthreads.
23 cd '$(1)' && CC_FOR_BUILD=gcc ./configure \ 23 cd '$(1)' && CC_FOR_BUILD=gcc ./configure \
24 --host='$(TARGET)' \ 24 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
25 --build="`config.guess`" \
26 --prefix='$(HOST_PREFIX)' \ 25 --prefix='$(HOST_PREFIX)' \
27 $(ENABLE_SHARED_OR_STATIC) \ 26 $(ENABLE_SHARED_OR_STATIC) \
28 --without-threads \ 27 --without-threads \
29 scm_cv_struct_timespec=no \ 28 scm_cv_struct_timespec=no \
30 LIBS='-lunistring -lintl -liconv' \ 29 LIBS='-lunistring -lintl -liconv' \