#asahi-alt · 2026-03-04 22:48
inkwellstill weird to me that the ebuild tries to expand LD when it's never reset#asahi-alt · 2026-03-04 22:42
inkwelland then also scrolled too far#asahi-alt · 2026-03-04 22:41
inkwelloh yeah i am blind - i missed the s#asahi-alt · 2026-03-04 22:38
inkwellwait am i blind#asahi-alt · 2026-03-04 22:36
inkwellnot test-flag-CCLD#asahi-alt · 2026-03-04 22:36
inkwellyes but strip_unsupported_flags calls test-flags-CCLD#asahi-alt · 2026-03-04 22:35
inkwellalso as a side note the llvm-mingw64 ebuild unsets LD, never resets it, and then tries to expand it in the strip_unsupported_flags call#asahi-alt · 2026-03-04 22:33
inkwellAnd flag-o-matics only inherits toolchain-funcs, and toolchain-funcs inherits nothing#asahi-alt · 2026-03-04 22:33
inkwellAt the very least tc-getCCLD isn't defined in either toolchain-funcs.ebuild or flag-o-matics.ebuild#asahi-alt · 2026-03-04 22:32
inkwellSo the LDFLAGS part should fail? I think?#asahi-alt · 2026-03-04 22:31
inkwellIt calls export LDFLAGS=$(test-flags-CCLD ${LDFLAGS}), which in turn involves calling _test-flag-PROG with the compiler argument CCLD. that then calls tc-getCCLD, which doesn't exist (as far as I can tell)#asahi-alt · 2026-03-04 22:30
inkwellSo I was looking at the llvm-mingw64 ebuild because I wanted to see if I could recreate it on Asahi ALARM as a PKGBUILD, and part of that involved parsing through what strip_unsupported_flags does, and I may be wrong but I think something weird is going on?