Details
Description
The linker of gcc 4.6 has problem with the too long arguments list.
If you have dozens of static libraries and each of them depends on qtcore, qtxml and so on, then this qt libraries add to linking arguments many times.
This can be fixed with the simple cleaning of staticlibraries array in gcc.js (see patch).
Possibly it is helpful to make same for dynamiclibraries and frameworks.
Attachments
For Gerrit Dashboard: QBS-710 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
102395,3 | fix duplicate libraries on gcc command line | 1.3 | qbs/qbs | Status: MERGED | +2 | 0 |
102492,2 | fix duplicate libraries in MSVC linker command | 1.3 | qbs/qbs | Status: MERGED | +2 | 0 |