[Buildroot] [git commit] package/qt5/qt5base: fix libatomic handling to not affect host builds

Peter Korsgaard peter at korsgaard.com
Sat Sep 4 19:51:52 UTC 2021


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at bootlin.com> writes:

 > commit: https://git.buildroot.net/buildroot/commit/?id=2d991fd7b23f66e3a88c02177bf28d5587061ac8
 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

 > qt5declarative builds qmltyperegistrar for the host as part of its build
 > process.
 > When building qt target packages (which is the case for qt5declarative),
 > -spec devices/linux-buildroot-g++ is passed to qmake in QT5_QMAKE
 > variable and this spec currently has -latomic in its LIBS.

 > This -latomic makes it to the build of the host build of
 > qmltyperegistrar which is not useful.

 > This was discovered on Fedora 34 where libatomic is not pulled with gcc
 > package, therefore was missing on the host machine.

 > This makes sure that -latomic is not added for host build of qt
 > packages.

 > Fixes: 7d286be4f9 ("package/qt5base: link with -latomic when needed")

 > Cc: Quentin Schulz <foss at 0leil.net>
 > Suggested-by: Arnout Vandecappelle <arnout at mind.be>
 > Signed-off-by: Quentin Schulz <quentin.schulz at theobroma-systems.com>
 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>

Committed to 2021.02.x and 2021.05.x, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list