view src/gcc-gmp.mk @ 5500:512e69a36d09

Use SSE2 instruction set for i686-w64 target (bug #58807). * src/build-gcc.mk: Set specs to use SSE/SSE2 instructions by default for i686-w64-mingw32 target (Windows 32bit). * src/native-gcc.mk: Set specs to use SSE/SSE2 instructions by default for i686-w64-mingw32 target (Windows 32bit).
author Markus Mützel <markus.muetzel@gmx.de>
date Tue, 21 Jul 2020 20:27:53 +0200
parents 0db5382a568d
children 879b94d8a548
line wrap: on
line source

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

PKG             := gcc-gmp
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 6.2.0
$(PKG)_CHECKSUM := 5e9341d3807bc7505376f9ed9f5c1c6c57050aa6
$(PKG)_SUBDIR   := gmp-$($(PKG)_VERSION)
$(PKG)_FILE     := gmp-$($(PKG)_VERSION).tar.bz2
$(PKG)_URL      := https://gmplib.org/download/gmp/$($(PKG)_FILE)
$(PKG)_URL_2    := ftp://ftp.cs.tu-berlin.de/pub/gnu/$(PKG)/$($(PKG)_FILE)
$(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