Re: git: afd690c4e224 - main - */*: Pass to lazarus based ports control of ONLY_FOR_ARCHS
Date: Wed, 18 Sep 2024 07:19:46 UTC
---- El mar., 17 sept. 2024 23:53:51 -0700, Alexey Dokuchaev escribió ---- > On Wed, Sep 18, 2024 at 06:28:15AM +0000, Jose Alonso Cardenas Marquez wrote: > > commit afd690c4e22491504d877bc6292830caee0f7288 > > > > */*: Pass to lazarus based ports control of ONLY_FOR_ARCHS > > Why? Most, if not all of them are CPU-agnostic and should work > everywhere provided they can be built. If our Lazarus/FPC stack > is currently limited to x86, then *it itself* should be marked > as such, not metastasized over innocent consumer leaf ports. :-/ > > ./danfe > I have added aarch64 support to fpc/lazarus ports and some fpc/lazarus-based ports not support aarch64. The way like it was defined in fpc/lazarus.mk I found issues with ONLY_FOR_ARCHS variable because not all fpc/lazarus ports can be built in the same number of supported archs by fpc or lazarus and aarch64 is supported using -devel version of fpc/lazarus. For this reason I did the changes in fpc/lazarus ports. On another hand, I don't want spend much time trying to put another way into fpc/lazarus.mk files Anyway, I'm open to include a better way to do it but for now it is working without issues Greetings