changeset 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 d7c8660c55c4
children e4be408ca36f 7c64f2903769
files src/icu4c.mk
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/icu4c.mk	Sat Apr 23 10:08:21 2022 -0400
+++ b/src/icu4c.mk	Thu May 05 11:22:40 2022 +0200
@@ -18,7 +18,8 @@
 ifeq ($(MXE_NATIVE_BUILD),no)
   define $(PKG)_BUILD
     # build some native tools
-    mkdir '$(1).native' && cd '$(1).native' && '$(1)/source/configure'
+    mkdir '$(1).native' && cd '$(1).native' && \
+      '$(1)/source/configure' CC=gcc CXX=g++
     $(MAKE) -C '$(1).native' -j '$(JOBS)'
 
     # build cross