From: Romain Naour Date: Fri, 29 May 2020 23:48:09 +0200 Subject: [Buildroot] [PATCH] package/qt5/qt5webengine: don't link with libstdc++.a on the host In-Reply-To: <20200529233458.2dbace04@windsurf.home> References: <20200524155818.126961-1-romain.naour@gmail.com> <20200529233458.2dbace04@windsurf.home> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hi Thomas, Le 29/05/2020 ? 23:34, Thomas Petazzoni a ?crit?: > On Sun, 24 May 2020 17:58:18 +0200 > Romain Naour 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 >