summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/guile.mk13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/guile.mk b/src/guile.mk
index ee34ac7..6825cca 100644
--- a/src/guile.mk
+++ b/src/guile.mk
@@ -24,17 +24,14 @@ 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)' && CC_FOR_BUILD=$(BUILD_CC) ./configure \
- --host='$(TARGET)' \
- --build="`config.guess`" \
- --prefix='$(PREFIX)/$(TARGET)' \
- --disable-shared \
+ cd '$(BUILD_DIR)' && CC_FOR_BUILD=$(BUILD_CC) $(SOURCE_DIR)/configure \
+ $(MXE_CONFIGURE_OPTS) \
--without-threads \
scm_cv_struct_timespec=no \
LIBS='-lunistring -lintl -liconv -ldl' \
- CFLAGS='-Wno-unused-but-set-variable -Wno-unused-value'
- $(MAKE) -C '$(1)' -j '$(JOBS)' $(MXE_DISABLE_CRUFT) schemelib_DATA=
- $(MAKE) -C '$(1)' -j 1 install $(MXE_DISABLE_CRUFT) schemelib_DATA=
+ CFLAGS='-Wno-unused-but-set-variable -Wno-unused-value -Wno-error=misleading-indentation'
+ $(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' $(MXE_DISABLE_CRUFT) schemelib_DATA=
+ $(MAKE) -C '$(BUILD_DIR)' -j 1 install $(MXE_DISABLE_CRUFT) schemelib_DATA=
'$(TARGET)-gcc' \
-W -Wall -Werror -ansi -pedantic \