summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/guile.mk3
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 \