mirror of https://git.wownero.com/dsc/mxe.git
guile: fix gcc7 build
This commit is contained in:
parent
bb20f42b47
commit
69427ce20c
13
src/guile.mk
13
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 \
|
||||
|
|
Loading…
Reference in New Issue