msi packaging job-limiter: use CXX_FOR_BUILD

since it is a build-tool it needs to match the arch of the platform the
build is performed, already had used ILIB_FOR_BUILD, but CXX was missed
and broke the build for the aarch64 daily tinderbox

Change-Id: I79edf7d3f7813b43bb447d580d071914a5053b95
This commit is contained in:
Christian Lohmaier 2023-11-08 15:30:41 +01:00
parent 08b13064fe
commit 078e102b9f

View file

@ -99,7 +99,7 @@ gb_Make_JobLimiter := $(WORKDIR)/job-limiter.exe
$(gb_Make_JobLimiter): $(SRCDIR)/solenv/bin/job-limiter.cpp
cd $(WORKDIR) && \
$(CXX) $(SOLARINC) -EHsc -Zi $^ -link -LIBPATH:$(subst ;, -LIBPATH:,$(ILIB_FOR_BUILD)) || rm -f $@
$(CXX_FOR_BUILD) $(SOLARINC) -EHsc $^ -link -LIBPATH:$(subst ;, -LIBPATH:,$(ILIB_FOR_BUILD)) || rm -f $@
# with all languages the logfile name would be too long when building the windows installation set,
# that's the reason for the substitution to multilang below in case more than just en-US is packaged