Mercurial > mxe-octave
view src/faad2.mk @ 4127:132ee4f1871b
Fix libmng compilation on fast computers with fast SSDs (bug #47712).
* src/libmng.mk: Run autoreconf in its own process, followed by configure.
Delay between processes guarantees that the first is done before the next
starts. Disable parallel make (make -j 1).
author | Rik <rik@octave.org> |
---|---|
date | Wed, 20 Apr 2016 15:10:50 -0700 |
parents | c803d4c88481 |
children | e714c8fe73db |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := faad2 $(PKG)_IGNORE := $(PKG)_VERSION := 2.7 $(PKG)_CHECKSUM := 80eaaa5cc576c35dd28863767b795c50cbcc0511 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/faac/$(PKG)-src/$(PKG)-$($(PKG)_VERSION)/$($(PKG)_FILE) $(PKG)_DEPS := define $(PKG)_UPDATE $(WGET) -q -O- 'http://sourceforge.net/projects/faac/files/faad2-src/' | \ $(SED) -n 's,.*faad2-\([0-9][^"]*\)/".*,\1,p' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && ./configure \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ --prefix='$(HOST_PREFIX)' \ $(ENABLE_SHARED_OR_STATIC) $(MAKE) -C '$(1)' -j '$(JOBS)' LDFLAGS='-no-undefined' $(MAKE) -C '$(1)' -j 1 install LDFLAGS='-no-undefined' endef