>From George Koehler: https://marc.info/?l=openbsd-ports&m=154118440613320 "The build system tries to use link-time optimization (-flto -fuse-linker-plugin). This fails because -fuse-linker-plugin "is available in gold or in GNU ld 2.21 or newer" (says man egcc), but OpenBSD has GNU ld 2.17.
x11/lxqt/build-tools enables LTO for gcc, so the failure would happen on ports-gcc arches like powerpc. Most packages outside LXQt don't enable LTO, so I disabled LTO by modifying x11/lxqt/build-tools." Thanks to George Koehler for the solution. The same applies to x11/lxqt/libqtxdg. Thanks landry@ for the bulk with the failure report. This should fix the build on non-clang archs. Cheers. Elias.
lxqt-gcc-fix.diff
Description: Binary data