boinc-client: Fix build with autotools 2.70+

On arches which are not same as build host it finds
ac_cv_c_undeclared_builtin_options = cannot detect
and errors out.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2021-02-07 20:36:35 -08:00
parent 0253865a6c
commit 260c342157

View File

@ -55,11 +55,12 @@ EXTRA_OECONF += "\
--without-wxdir \
--without-x \
--with-boinc-platform=${TARGET_SYS} \
ac_cv_c_undeclared_builtin_options='none' \
"
export PKG_CONFIG = "${STAGING_BINDIR_NATIVE}/pkg-config"
do_configure_prepend () {
if "${@bb.utils.contains('DEPENDS', 'gtk+', '1', '0', d)}" = "0"
if [ "${@bb.utils.contains('DEPENDS', 'gtk+', '1', '0', d)}" = "0" ]
then
export GTK2_CFLAGS=""
export GTK2_LIBS=""