summaryrefslogtreecommitdiffstats
path: root/src/guile.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2018-08-13 13:11:27 (GMT)
committerTony Theodore <tonyt@logyst.com>2018-08-15 02:57:09 (GMT)
commit69427ce20c08710308933b50b9e84ecac86aad94 (patch)
tree0fdd60247ff52f9fb80ecfd1c4e246f1d22ebaa9 /src/guile.mk
parentbb20f42b4761cfb0b8871d582168ed8ee2dc5093 (diff)
downloadmxe-69427ce20c08710308933b50b9e84ecac86aad94.zip
mxe-69427ce20c08710308933b50b9e84ecac86aad94.tar.gz
mxe-69427ce20c08710308933b50b9e84ecac86aad94.tar.bz2
guile: fix gcc7 build
Diffstat (limited to 'src/guile.mk')
-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 \