changeset 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 eec7a1576df7
children c0cf12e45d84
files src/guile.mk
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/guile.mk	Thu Mar 17 05:07:08 2011 +1100
+++ b/src/guile.mk	Thu Mar 17 05:53:41 2011 +1100
@@ -23,8 +23,9 @@
     # 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 \