view src/gcc-gmp.mk @ 3810:7da91c8c58f9

build-gcc: dont specify unknown optiosn --enable-shared --disable-static in crt * src/build-gcc.mk: remove $(ENABLE_SHARED_OR_STATIC) from mingw crt build
author John Donoghue <john.donoghue@ieee.org>
date Wed, 25 Feb 2015 19:00:32 -0500
parents d95b8b84cea7
children c7285e784532
line wrap: on
line source

# This file is part of MXE.
# See index.html for further information.

PKG             := gcc-gmp
$(PKG)_IGNORE    = $(gmp_IGNORE)
$(PKG)_VERSION  := $(gmp_VERSION)
$(PKG)_CHECKSUM  = $(gmp_CHECKSUM)
$(PKG)_SUBDIR    = $(gmp_SUBDIR)
$(PKG)_FILE      = $(gmp_FILE)
$(PKG)_URL       = $(gmp_URL)
$(PKG)_URL_2     = $(gmp_URL_2)
$(PKG)_DEPS     :=

define $(PKG)_UPDATE
    echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
    echo $(gmp_VERSION)
endef

define $(PKG)_BUILD
    mkdir '$(1).build'
    cd    '$(1).build' && '$(1)/configure' \
        --prefix='$(BUILD_TOOLS_PREFIX)' \
        --disable-shared
    $(MAKE) -C '$(1).build' -j '$(JOBS)'
    $(MAKE) -C '$(1).build' -j 1 install
endef