I have a package which indirectly calls qmake (from Qt5). Is there a way to inject the standard build flags using environment variables, or do I have to patch the invocation of the qmake command itself to pass the flags, similar to what %{qmake_qt5} does?
Would it make to add rpmbuild-qmake or something similar to qt5-rpm-macros which get the build flags from CFLAGS/CXX/FLAGS/LDFLAGS and pass it to qmake?
Thanks, Florian