heimdal: fix configuration with gcc 14

allow heimdal:host to be built using build hosts with gcc-14
does not adjust :target builds. LE12 builds are only supported using
the gcc-13.x
This commit is contained in:
Jernej Skrabec 2024-05-28 20:47:29 +02:00 committed by Rudi Heitbaum
parent fe988ba8e5
commit 89752c54fc

View File

@ -13,6 +13,11 @@ PKG_LONGDESC="Kerberos 5, PKIX, CMS, GSS-API, SPNEGO, NTLM, Digest-MD5 and, SASL
PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="-parallel"
pre_configure_host() {
# configure step misconfigures with gcc 14 unless this error is degraded to a warning
export CFLAGS+=" -Wno-error=implicit-function-declaration"
}
PKG_CONFIGURE_OPTS_HOST="ac_cv_prog_COMPILE_ET=no \
--enable-static --disable-shared \
--without-openldap \