Bug 6574

Summary: qt4: Avoid duplicate flags in the g++-unix.conf
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Marek Vasut <marek.vasut>
Component: meta-yoctoAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: poky.bs.watcher, poky.watcher
Version: 1.8   
Target Milestone: 1.7   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
[PATCH] Yocto: qt4: Avoid duplicate flags in the g++-unix.conf none

Description Marek Vasut 2014-07-25 00:24:24 UTC
Created attachment 2055 [details]
[PATCH] Yocto: qt4: Avoid duplicate flags in the g++-unix.conf

When using meta-toolchain-qte to compile applications outside of yocto buildsystem, I noticed a lot of compiler flags were duplicated in the output during the build. By inspecting the qmake configuration files, I managed to find that some of the flags are specified unnecessarily, since they are now already specified in one of the qmake configuration includes. The patch trims down the flags so that only the relevant one remains. The duplication is gone.
Comment 1 Richard Purdie 2014-07-27 07:40:10 UTC
Could you send this patch to the mailing list for review please?
Comment 2 Marek Vasut 2014-07-27 15:49:57 UTC
(In reply to comment #1)
> Could you send this patch to the mailing list for review please?

Done, sent to poky@ list.