This commit is contained in:
Tony Theodore 2017-02-12 14:16:12 +00:00 committed by GitHub
commit c42e37cbbb
1 changed files with 7 additions and 3 deletions

View File

@ -20,7 +20,11 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS)
$(MAKE) -C '$(1)' -j 1 install LDFLAGS='-no-undefined'
# fftw and sndfile are only used for tests/examples
cd '$(BUILD_DIR)' && '$(SOURCE_DIR)/configure' \
$(MXE_CONFIGURE_OPTS) \
--disable-fftw \
--disable-sndfile
$(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' $(MXE_DISABLE_PROGRAMS) $(MXE_DISABLE_DOCS)
$(MAKE) -C '$(BUILD_DIR)' -j 1 install $(MXE_DISABLE_PROGRAMS) $(MXE_DISABLE_DOCS)
endef