On Thu, 2023-09-07 at 17:47 +0800, Xi Ruoyao wrote: /* snip */
> I've made some local experiment too, I think we can add a "-mbuild- > multilib" option which does nothing but in the hacked spec we can wrap > the line in %{mbuild-multilib:...}: > > %{mbuild-multilib:%<march=* %<mtune=* %<mcmodel=* %<mfpu=* %<msimd=* > %{mabi=lp64d:-march=la464 -mno-strict-align -msimd=lsx} > %{mabi=lp64s:-march=abi-default -mfpu=32}} > > Then we can use -mbuild-multilib -mabi=lp64d for non-default multilibs ^^^^^^^^^^^^ typo, should be removed > (or all multilibs unless --disable-multilib?). In the document we can > just document mbuild-multilib as "internal use only". -- Xi Ruoyao <xry...@xry111.site> School of Aerospace Science and Technology, Xidian University