[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

make qmake honour $RPM_OPT_FLAGS



Hiyas,

when one wants to make sure that a package, that uses qmake(-qt4) to build its 
Makefile, honours $RPM_OPT_FLAGS, waht is the best method?

Is e.g. the following good? (It's in example for vym):
qmake-qt4 INSTALLDIR=%{buildroot}%{_prefix} \
QMAKE_CFLAGS="%{optflags}" \
QMAKE_CXXFLAGS="%{optflags}" \
QMAKE_LFLAGS="%{optflags}"

Regards,
Till

Attachment: signature.asc
Description: This is a digitally signed message part.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]