Files
Khem Raj e1f95af4ba meta-oe/recipes: disable C23 support to fix configure check
Set ac_cv_prog_cc_c23=no to prevent autoconf from detecting C23
compiler support, avoiding potential build failures as the package
is not yet fully ported to support C23 standard.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-04-16 12:21:07 -07:00

30 lines
1.1 KiB
BlitzBasic

SUMMARY = "System performance benchmark"
HOMEPAGE = "http://github.com/akopytov/sysbench"
SECTION = "console/tests"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
DEPENDS = "libtool luajit concurrencykit"
inherit autotools-brokensep pkgconfig
# The project has moved from Sourceforge to Launchpad, to Github. Use the source tarball from
# Launchpad until the next release is available from Github.
SRC_URI = "git://github.com/akopytov/sysbench.git;protocol=https;branch=master"
SRCREV = "ebf1c90da05dea94648165e4f149abc20c979557"
COMPATIBLE_HOST = "(arm|aarch64|i.86|x86_64).*-linux*"
CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no"
EXTRA_OECONF += "--enable-largefile --with-system-luajit --with-system-ck --without-gcc-arch --with-lib-prefix=no"
PACKAGECONFIG ??= ""
PACKAGECONFIG[aio] = "--enable-aio,--disable-aio,libaio,"
PACKAGECONFIG[mysql] = "--with-mysql \
--with-mysql-includes=${STAGING_INCDIR}/mysql \
--with-mysql-libs=${STAGING_LIBDIR}, \
--without-mysql,mysql5"
do_configure:prepend() {
touch ${S}/NEWS ${S}/AUTHORS
}