Skip to content

Commit af6a1c9

Browse files
committed
mariadb-connector-c: glibc 2.43 workaround
1 parent 13ef4a4 commit af6a1c9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

packages/databases/mariadb-connector-c/package.mk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ PKG_CMAKE_OPTS_TARGET="-DWITH_EXTERNAL_ZLIB=ON
2020
-DDEFAULT_SSL_VERIFY_SERVER_CERT=OFF
2121
"
2222

23+
pre_configure_target() {
24+
export CFLAGS+=" -Wno-discarded-qualifiers"
25+
}
26+
2327
post_makeinstall_target() {
2428
# keep mariadb shared library and modern authentication plugins
2529
LIBDIR=${INSTALL}/usr/lib

0 commit comments

Comments
 (0)