diff options
author | Tony Theodore <tonyt@logyst.com> | 2011-03-16 18:53:41 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2011-03-16 18:53:41 (GMT) |
commit | f32de16f977cb82787ab31f07c8a94397155ea30 (patch) | |
tree | ae5e0d30ab9c911f439547603b213bd82909b8ca | |
parent | 2374a273af626374ef2b714e5705a829f64ee225 (diff) | |
download | mxe-f32de16f977cb82787ab31f07c8a94397155ea30.zip mxe-f32de16f977cb82787ab31f07c8a94397155ea30.tar.gz mxe-f32de16f977cb82787ab31f07c8a94397155ea30.tar.bz2 |
package guile: wine confuses native build steps so set CC_FOR_BUILD and --build
-rw-r--r-- | src/guile.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/guile.mk b/src/guile.mk index 95a5400..74efa5d 100644 --- a/src/guile.mk +++ b/src/guile.mk @@ -23,8 +23,9 @@ define $(PKG)_BUILD # The setting "scm_cv_struct_timespec=no" ensures that Guile # won't try to use the "struct timespec" from <pthreads.h>, # which would fail because we tell Guile not to use Pthreads. - cd '$(1)' && ./configure \ + cd '$(1)' && CC_FOR_BUILD=gcc ./configure \ --host='$(TARGET)' \ + --build=`sh ./config.guess` \ --prefix='$(PREFIX)/$(TARGET)' \ --disable-shared \ --without-threads \ |