Summary: | [qt overlay] dev-qt/qt*:5 modules use *FLAGS stored by qtcore:5 instead of the ones set by portage | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Franz Trischberger <franz.trischberger> |
Component: | [OLD] Development | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED FIXED | ||
Severity: | QA | CC: | franz.trischberger, josef64, uwelk |
Priority: | High | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/gentoo/qt/pull/27 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 454132 | ||
Attachments: | build.log |
Description
Franz Trischberger
2013-11-03 11:40:05 UTC
works here, please post the log Created attachment 362482 [details]
build.log
The g++ lines still contain "-ggdb"
This is simply a qt5-issue: qtcore stores the C[XX]FLAGS it was built with and uses that for every module. /usr/lib64/qt5/mkspecs/qmodule.pri:QMAKE_CFLAGS = -march=corei7-avx -O2 -pipe -ggdb /usr/lib64/qt5/mkspecs/qmodule.pri:QMAKE_CXXFLAGS = -march=corei7-avx -O2 -pipe -ggdb Seems like we need a hack to patch qt5-build.eclass to be able to set per-package flags. I am going to remove -ggdb manually from qmodule.pri, emerge qtwebkit:5 and restore qmodule.pri, again. To refine the problem a bit: This applies only to non-qtbase packages that have a load(qt_build_config) line in their .qmake.conf Fixed in git, thanks! |