Hi Dmitry, I'm aware of the workaround and this is what I'm currently doing. Leaving +pie (implicitly) in hardening flags makes no harm as the -fPIC from CFFLAGS_APPEND will override it.
The reason for this bug report is that packages that use qt5 with hardening flags will encounter this issue, exactly as the other bug I mentioned in my original report. I think this should be addressed more generally, without each maintainer needing to go through the process of trying to debug why enabling hardening flags might break builds with qt5 and coming up with this workaround. If you that this is too much of a hassle to address properly and it is preferable to just work around it each time it happens, then we can close this bug and I'm fine with it. Thanks and best regards, Nick -- =Do- N.AND