Skip to contentSkip to conversation

mariadb: Fix i386 Clang builds

PATCH New Armin Kuster 1 participant 1 message May 27, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mariadb: Fix i386 Clang builds

---
 meta-oe/recipes-dbs/mysql/mariadb.inc | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-dbs/mysql/mariadb.inc +2 -0
index 3f246dc0a5..922373b633 100644
@@ -77,6 +77,8 @@ LDFLAGS += " -pthread"
 BUILD_CFLAGS += "-fuse-ld=bfd"
 BUILD_CXXFLAGS += "-fuse-ld=bfd"
 
+LDFLAGS:x86:toolchain-clang = "-latomic"
+
 EXTRA_OECMAKE = "-DWITH_EMBEDDED_SERVER=ON \
                  -DWITH_JEMALLOC=no \
                  -DWITHOUT_TOKUDB=TRUE \
Signature · 1 line
2.25.1