view src/qttranslations.mk @ 6203:8b23f76955c6 release

ICU4C: Use GCC for native version even if clang is installed. * src/icu4c.mk: ICU4C seems to prefer clang for building the native version if it is installed on the build system. But it looks like that doesn't work for some reason. When cross-compiling, use GCC for the native version instead.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 05 May 2022 11:22:40 +0200
parents 38be0ef93ce3
children 24e29dcb2e64
line wrap: on
line source

# This file is part of MXE. See LICENSE.md for licensing information.

PKG             := qttranslations
$(PKG)_IGNORE   :=
$(PKG)_VERSION   = $(qtbase_VERSION)
$(PKG)_CHECKSUM := 980350bcbf680697bb2903955e2568ee9b5b365f
$(PKG)_SUBDIR    = $(subst qtbase,qttranslations,$(qtbase_SUBDIR))
$(PKG)_FILE      = $(subst qtbase,qttranslations,$(qtbase_FILE))
$(PKG)_URL       = $(subst qtbase,qttranslations,$(qtbase_URL))
$(PKG)_DEPS     := qtbase qttools

define $(PKG)_UPDATE
    echo $(qtbase_VERSION)
endef

define $(PKG)_BUILD
    cd '$(1)' && '$(MXE_QMAKE)'
    $(MAKE) -C '$(1)' -j '$(JOBS)'
    $(MAKE) -C '$(1)' -j 1 install
endef