[Buildroot] [PATCH 1/1] package/aircrack-ng: fix sqlite3 build
Arnout Vandecappelle
arnout at mind.be
Thu Apr 21 20:54:03 UTC 2022
On 16/04/2022 23:45, Fabrice Fontaine wrote:
> Fix the following build failure raised since bump to version 1.2 in
> commit 242227dd86efaaec7c785b32a14e8133f2e86dec:
>
> powerpc-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include'
> In file included from src/aircrack-ng/aircrack-ng.c:54:
> /usr/include/math.h:476:21: error: '_Float128' is not supported on this target
> 476 | # define _Mdouble_ _Float128
> | ^~~~~~~~~
>
> Fixes:
> - http://autobuild.buildroot.org/results/83a114ce197fb6af53a26ed68184cf3bbb30c8a7
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Applied to master, thanks.
Regards,
Arnout
> ---
> package/aircrack-ng/aircrack-ng.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/package/aircrack-ng/aircrack-ng.mk b/package/aircrack-ng/aircrack-ng.mk
> index ff87766d6f..95cda7c5a6 100644
> --- a/package/aircrack-ng/aircrack-ng.mk
> +++ b/package/aircrack-ng/aircrack-ng.mk
> @@ -69,7 +69,7 @@ endif
>
> ifeq ($(BR2_PACKAGE_SQLITE),y)
> AIRCRACK_NG_DEPENDENCIES += sqlite
> -AIRCRACK_NG_CONF_OPTS += --with-sqlite3
> +AIRCRACK_NG_CONF_OPTS += --with-sqlite3=$(STAGING_DIR)/usr
> else
> AIRCRACK_NG_CONF_OPTS += --without-sqlite3
> endif
More information about the buildroot
mailing list