comparison src/icu4c.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 540abbedeb37
children e4be408ca36f
comparison
equal deleted inserted replaced
6190:d7c8660c55c4 6203:8b23f76955c6
16 endef 16 endef
17 17
18 ifeq ($(MXE_NATIVE_BUILD),no) 18 ifeq ($(MXE_NATIVE_BUILD),no)
19 define $(PKG)_BUILD 19 define $(PKG)_BUILD
20 # build some native tools 20 # build some native tools
21 mkdir '$(1).native' && cd '$(1).native' && '$(1)/source/configure' 21 mkdir '$(1).native' && cd '$(1).native' && \
22 '$(1)/source/configure' CC=gcc CXX=g++
22 $(MAKE) -C '$(1).native' -j '$(JOBS)' 23 $(MAKE) -C '$(1).native' -j '$(JOBS)'
23 24
24 # build cross 25 # build cross
25 mkdir '$(1).cross' && cd '$(1).cross' && \ 26 mkdir '$(1).cross' && cd '$(1).cross' && \
26 '$(1)/source/configure' \ 27 '$(1)/source/configure' \