view src/ice.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 58de4f56c797
children
line wrap: on
line source

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

PKG             := ice
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 1.0.9
$(PKG)_CHECKSUM := 3c3a857a117ce48a1947a16860056e77cd494fdf
$(PKG)_SUBDIR   := libICE-$($(PKG)_VERSION)
$(PKG)_FILE     := libICE-$($(PKG)_VERSION).tar.bz2
$(PKG)_URL      := http://www.x.org/archive/individual/lib/$($(PKG)_FILE)
$(PKG)_DEPS     := xproto xtrans

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

ifeq ($(MXE_WINDOWS_BUILD),yes)
  define $(PKG)_BUILD
  endef
else
  define $(PKG)_BUILD
    mkdir '$(1)/.build'
    cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \
        $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
        $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
        --prefix='$(HOST_PREFIX)' \
        && $(CONFIGURE_POST_HOOK)

    $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)'
  endef
endif