Skip to contentSkip to conversation

boinc-client: Fix build with autotools 2.70+

PATCH New Khem Raj 1 participant 1 message Feb 8, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 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.

---
 meta-oe/recipes-extended/boinc/boinc-client_7.16.16.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-extended/boinc/boinc-client_7.16.16.bb +2 -1
index 441bcd3ac3..d2e81ee780 100644
@@ -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=""
Signature · 1 line
2.30.0