[Buildroot] [PATCH v2, 2/2] package/leveldb: fix static build with -latomic

Thomas Petazzoni thomas.petazzoni at bootlin.com
Tue Jan 7 20:27:47 UTC 2020


On Fri, 27 Dec 2019 10:40:00 +0100
Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:

> Drop workaround and use an upstreamable solution to link with -latomic
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/01d5a50581ac9e9b46f40e6f9665f74897db5e6f
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
>  ...keLists.txt-check-for-atomic-library.patch | 49 +++++++++++++++++++
>  package/leveldb/leveldb.mk                    |  4 --
>  2 files changed, 49 insertions(+), 4 deletions(-)
>  create mode 100644 package/leveldb/0003-CMakeLists.txt-check-for-atomic-library.patch

Applied to master, thanks. Seems like a good approach that we should
probably use on other CMake-based packages.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list