Mercurial > mxe-octave
comparison src/guile.mk @ 1666:9c1cb932b77a
package guile: wine confuses native build steps so set CC_FOR_BUILD and --build
author | Tony Theodore <tonyt@logyst.com> |
---|---|
date | Thu, 17 Mar 2011 05:53:41 +1100 |
parents | 2d9d50ec94e2 |
children | 53a32735ec32 |
comparison
equal
deleted
inserted
replaced
1665:eec7a1576df7 | 1666:9c1cb932b77a |
---|---|
21 | 21 |
22 define $(PKG)_BUILD | 22 define $(PKG)_BUILD |
23 # The setting "scm_cv_struct_timespec=no" ensures that Guile | 23 # The setting "scm_cv_struct_timespec=no" ensures that Guile |
24 # won't try to use the "struct timespec" from <pthreads.h>, | 24 # won't try to use the "struct timespec" from <pthreads.h>, |
25 # which would fail because we tell Guile not to use Pthreads. | 25 # which would fail because we tell Guile not to use Pthreads. |
26 cd '$(1)' && ./configure \ | 26 cd '$(1)' && CC_FOR_BUILD=gcc ./configure \ |
27 --host='$(TARGET)' \ | 27 --host='$(TARGET)' \ |
28 --build=`sh ./config.guess` \ | |
28 --prefix='$(PREFIX)/$(TARGET)' \ | 29 --prefix='$(PREFIX)/$(TARGET)' \ |
29 --disable-shared \ | 30 --disable-shared \ |
30 --without-threads \ | 31 --without-threads \ |
31 scm_cv_struct_timespec=no \ | 32 scm_cv_struct_timespec=no \ |
32 LIBS='-lunistring -lintl -liconv' | 33 LIBS='-lunistring -lintl -liconv' |