Mercurial > mxe-octave
view src/build-autoconf.mk @ 4606:86c3c1fd16f1
build-gcc, native-gcc: build with --enable-threads=posix
* build-gcc.mk, native-gcc.mk: Use --enable-threads=posix. Update
build rules. Disable multilib (no longer needed for nsis).
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 26 Feb 2018 10:37:40 -0500 |
parents | 0e56fe2d2ef5 |
children | 2d3ad30acfc0 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := build-autoconf $(PKG)_IGNORE := $(PKG)_VERSION := 2.69 $(PKG)_CHECKSUM := e891c3193029775e83e0534ac0ee0c4c711f6d23 $(PKG)_SUBDIR := autoconf-$($(PKG)_VERSION) $(PKG)_FILE := autoconf-$($(PKG)_VERSION).tar.xz $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/autoconf/$($(PKG)_FILE) $(PKG)_DEPS := ifneq ($(MXE_SYSTEM),msvc) ifneq ($(MXE_NATIVE_MINGW_BUILD),yes) $(PKG)_DEPS += build-m4 endif $(PKG)_DEPS += build-xz endif define $(PKG)_UPDATE $(WGET) -q -O- 'http://ftp.gnu.org/gnu/autoconf/?C=M;O=D' | \ $(SED) -n 's,.*<a href="autoconf-\([0-9\.]*\)\.tar.*,\1,p' | \ $(SORT) -V | \ tail -1 endef define $(PKG)_BUILD mkdir '$(1).build' cd '$(1).build' && '$(1)/configure' \ --prefix='$(BUILD_TOOLS_PREFIX)' $(MAKE) -C '$(1).build' -j '$(JOBS)' $(MAKE) -C '$(1).build' -j 1 install DESTDIR='$(3)' endef