[Buildroot] [PATCH] package/qt5/qt5webengine: don't link with libstdc++.a on the host
Romain Naour
romain.naour at gmail.com
Fri May 29 21:48:09 UTC 2020
Hi Thomas,
Le 29/05/2020 à 23:34, Thomas Petazzoni a écrit :
> On Sun, 24 May 2020 17:58:18 +0200
> Romain Naour <romain.naour at gmail.com> wrote:
>
>> + gn_gen_args = --no-last-commit-position --out-path $$out_path \
>> + --cc \"$$which($$QMAKE_CC)\" --cxx \"$$which($$QMAKE_CXX)\" \
>> +- --ld \"$$which($$QMAKE_LINK)\"
>> ++ --ld \"$$which($$QMAKE_LINK)\" \
>> ++ --no-static-libstdc++
>
> If we have to pass this, doesn't it mean that the host tools are built
> statically ? Why are they built statically ? They really shouldn't be
> built statically at all. I believe this is what should be fixed, rather
> than just avoiding specifically from linking statically with libstdc++.
Without this option host tools are built statically because this option is
enabled by default.
Adding --no-static-libstdc++ allow to link dynamically with libc.so.6.
Best regards,
Romain
>
> Thomas
>
More information about the buildroot
mailing list