From a8e9b796c990d2aaaa17c711cefef2918b69bc9d Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sat, 16 Apr 2022 23:45:28 +0200 Subject: [PATCH] package/aircrack-ng: fix sqlite3 build 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 Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- 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