mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
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>
This commit is contained in:
@@ -15,7 +15,7 @@ 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,"
|
||||
|
||||
@@ -16,6 +16,8 @@ UPSTREAM_CHECK_REGEX = "Libmcrypt/(?P<pver>\d+(\.\d+)+)/"
|
||||
|
||||
inherit autotools-brokensep gettext binconfig multilib_script
|
||||
|
||||
CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no"
|
||||
|
||||
CFLAGS += "-Wno-error=implicit-int"
|
||||
|
||||
do_configure() {
|
||||
|
||||
@@ -19,6 +19,8 @@ SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \
|
||||
|
||||
inherit autotools gettext
|
||||
|
||||
CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no"
|
||||
|
||||
EXTRA_OECONF += "PERL='${USRBINPATH}/env perl'"
|
||||
|
||||
SRC_URI[sha256sum] = "6d56bada6934d055b34b6c90399aa85975e66457ac5bf513427ae7fc77f5c0bb"
|
||||
|
||||
@@ -10,5 +10,6 @@ SRCREV = "5bbcd7383a8c3a531299b216b0c734e1495c6db3"
|
||||
PV = "2.2.5+git"
|
||||
|
||||
inherit autotools
|
||||
CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
@@ -10,6 +10,7 @@ UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/lprng/files/lprng/"
|
||||
UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.tar"
|
||||
|
||||
inherit autotools gettext
|
||||
CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no"
|
||||
|
||||
EXTRA_OECONF = "--disable-ssl --disable-kerberos --enable-force_localhost \
|
||||
CHOWN=${base_bindir}/chown CHGRP=${base_bindir}/chgrp \
|
||||
|
||||
@@ -40,6 +40,7 @@ CVE_STATUS[CVE-2015-3243] = "fix-file-included: The shipped default rsyslog.conf
|
||||
|
||||
inherit autotools pkgconfig systemd update-rc.d ptest
|
||||
|
||||
CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no"
|
||||
EXTRA_OECONF += "--enable-imfile-tests ${ATOMICS}"
|
||||
ATOMICS = "ap_cv_atomic_builtins_64=yes ap_cv_atomic_builtins=yes"
|
||||
ATOMICS:mipsarch = ""
|
||||
|
||||
@@ -15,6 +15,8 @@ UPSTREAM_CHECK_COMMITS = "1"
|
||||
|
||||
inherit autotools
|
||||
|
||||
CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no"
|
||||
|
||||
AUTOTOOLS_SCRIPT_PATH = "${S}/src"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
@@ -20,6 +20,9 @@ UPSTREAM_CHECK_REGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)"
|
||||
DEPENDS += "bison-native flex-native wget-native gawk-native"
|
||||
|
||||
inherit autotools-brokensep update-alternatives
|
||||
|
||||
CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no"
|
||||
|
||||
ALTERNATIVE_PRIORITY = "50"
|
||||
ALTERNATIVE:${PN}-yang = " ietf-interfaces ietf-netconf-acm ietf-netconf-with-defaults ietf-netconf"
|
||||
ALTERNATIVE_LINK_NAME[ietf-interfaces] = "${datadir}/yang/ietf-interfaces.yang"
|
||||
|
||||
@@ -50,6 +50,7 @@ EXTRA_OECONF = " \
|
||||
--disable-farstream \
|
||||
--disable-vv \
|
||||
"
|
||||
CACHED_CONFIGUREVARS += "ac_cv_prog_cc_c23=no"
|
||||
|
||||
# CONFIG_ARGS is used to display build info. Replace full paths by reproducible
|
||||
# variables ($S, $WORKDIR)
|
||||
|
||||
Reference in New Issue
Block a user