Bug 6574 - qt4: Avoid duplicate flags in the g++-unix.conf
Summary: qt4: Avoid duplicate flags in the g++-unix.conf
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 1.8
Hardware: All Multiple
: Medium enhancement
Target Milestone: 1.7
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-07-25 00:24 UTC by Marek Vasut
Modified: 2014-09-24 14:35 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
[PATCH] Yocto: qt4: Avoid duplicate flags in the g++-unix.conf (2.55 KB, patch)
2014-07-25 00:24 UTC, Marek Vasut
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.