[Buildroot] [git commit branch/2022.02.x] package/aircrack-ng: fix sqlite3 build

Peter Korsgaard peter at korsgaard.com
Tue May 24 12:53:51 UTC 2022


commit: https://git.buildroot.net/buildroot/commit/?id=5c739b156b40b4b8298d0db6ab3405e34b277906
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x

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>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
(cherry picked from commit a8e9b796c990d2aaaa17c711cefef2918b69bc9d)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 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