solus-project / ypkg

Modern, declarative, structured build format
https://solus-project.com/
GNU General Public License v3.0
56 stars 20 forks source link

rc.yml: Add support for qmake packages #22

Closed sunnyflunk closed 7 years ago

sunnyflunk commented 7 years ago

So I noticed qmake doesn't honour Solus flags. It takes the qmake flags set when building qt5. By default this is just -O2. Also doesn't honour LDFLAGS and so on. My research led to these flags and a test build using this line on ricochet, was honouring the Solus flags.

The directories are still determined by what is set by Qt5 at build and that is likely the right thing as that's where it will search for them.

ikeydoherty commented 7 years ago

LGTM - ty