[Buildroot] Build error with 2021.11.x

Andrey Nechypurenko andreynech at gmail.com
Mon Feb 7 19:44:34 UTC 2022


Hi Peter,

> >>>> icu 69-1 Configuring
>
> [snip]
>
> > INTLTOOL_PERL=/usr/bin/perl CFLAGS="-D_LARGEFILE_SOURCE
> > -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -O3 -g0
> > -D_FORTIFY_SOURCE=1
> > -I/home/and/p2/build/prodx/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/drm"
> > LDFLAGS=" -ldrm" ac_cv_lbl_unaligned_fail=yes
>
> Hmm, is this a pristine upstream Buildroot 2021.11 without any external
> packages? You seem to be passing some extra CFLAGS / LDFLAGS to the
> configure script.
>
> Variables like TARGET_CONFIGURE_OPTS are global, so you cannot change it
> in a custom package without causing problems, like this:

Indeed, I am using an external tree and one custom package did modify
TARGET_CONFIGURE_OPTS. Somehow I did not realize that these variables are
global.

Thank you very much! Really appreciate the help.

Best regards,
Andrey.



More information about the buildroot mailing list