mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Customising packages (was Qt compilation opti


From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] Customising packages (was Qt compilation options)
Date: Sat, 10 Aug 2013 21:18:15 +1000

On 10/08/2013, at 8:53 PM, Tony Theodore <address@hidden> wrote:
> 
> Does a customisable package look like [1]
[…]
>  Is there some in-between mix of transparency, minimal boilerplate, global 
> settings, and user overrides?

Maybe it's a matter of including local makefile overrides (from almost exactly 
the same conversation!):

http://lists.nongnu.org/archive/html/mingw-cross-env-list/2012-05/msg00019.html

Then a customisable package would look like gcc, gdal, or wxwidgets with 
snippets that end up like

define $(PKG)_BUILD_i686-pc-mingw32
    # build full cross gcc
    $($(PKG)_PRE_CONFIGURE) \
    $($(PKG)_CONFIGURE) \
        --disable-sjlj-exceptions
    $(MAKE) -C '$(1).build' -j '$(JOBS)'
    $(MAKE) -C '$(1).build' -j 1 install
    $($(PKG)_POST_BUILD)
    $($(PKG)_POST_BUILD_mingw32)
endef

Cheers,

Tony




reply via email to

[Prev in Thread] Current Thread [Next in Thread]