Re: git: 3b49fd2371b9 - main - print/tex-luatex: fix WITH_PIE build, remove PIE_UNSAFE and MAKE_JOBS_UNSAFE

From: Älven <alven_at_FreeBSD.org>
Date: Tue, 09 Sep 2025 12:01:05 UTC
Gleb Popov <arrowd@freebsd.org> writes:

> On Tue, Sep 9, 2025 at 1:24 PM Älven <alven@freebsd.org> wrote:
>>
>> -                       --with-system-zziplib \
>> -                       CC="${CC}" \
>> -                       CXX="${CXX}"
>> +                       --with-system-zziplib
>> +CONFIGURE_ENV+=                ${MAKE_ENV}
>
> This looks strange to me. CONFIGURE_ENV is almost identical to
> MAKE_ENV, so rather than merging one to another I'd try to figure out
> what exactly is needed to fix the problem.
> I suspect, it is CC="${CC}" and CCX="${CCX}" that were removed from
> CONFIGURE_ARGS. In this case, I think CONFIGURE_ENV= CC="${CC}"
> CCX="${CCX}" is cleaner.

Thank you for pointing this out: I like and share your attitude to
really know the cause and fix the issue, but have lots of linking
errors during builds with this:

ld: error: relocation R_X86_64_32 cannot be used against local symbol; recompile with -fPIC

Seems like it may be other important variables from MAKE_ENV too...

-- 
Best regards,
Älven