view src/gcc-cloog.mk @ 4353:ae1280afbc8c

wxwidgets: add fixes for stdc++11 issues in later gcc versions * src/wxwidgets.mk: disable use of stl, enable unicode * src/wxwidgets-1-c++11-related-fixes.patch: new file from mxe.cc * dist-files.mk: add ref to wxwidgets-1-c++11-related-fixes.patch
author John D
date Thu, 23 Feb 2017 14:08:10 -0500
parents d95b8b84cea7
children c7285e784532
line wrap: on
line source

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

PKG             := gcc-cloog
$(PKG)_IGNORE    = $(cloog_IGNORE)
$(PKG)_VERSION   = $(cloog_VERSION)
$(PKG)_CHECKSUM  = $(cloog_CHECKSUM)
$(PKG)_SUBDIR    = $(cloog_SUBDIR)
$(PKG)_FILE      = $(cloog_FILE)
$(PKG)_URL       = $(cloog_URL)
$(PKG)_URL_2     = $(cloog_URL_2)
$(PKG)_DEPS     := gcc-gmp gcc-isl

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

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