From 527e63cb82bae97ac2ef48a32a8d0c559ed9701b Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Tue, 8 Nov 2016 23:18:32 +0100 Subject: [PATCH] package/pseudo: force rpath and pass our host CFLAGS MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit pseudo whines when those are not set, and tries to find a suitable value; this is usually correct but risk an incorrect guess in corner cases. Rather than leaving those in guess-mode, just force them to values we know are correct. Signed-off-by: "Yann E. MORIN" Cc: Gaël PORTAY Cc: Patrick Keroulas Cc: Erico Nunes Cc: Julien BOIBESSOT Cc: Arnout Vandecappelle Reviewed-by: Arnout Vandecappelle [Thomas: use double quotes instead of single quotes.] Signed-off-by: Thomas Petazzoni --- package/pseudo/pseudo.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/pseudo/pseudo.mk b/package/pseudo/pseudo.mk index 92de2c6f1b..a924e10c45 100644 --- a/package/pseudo/pseudo.mk +++ b/package/pseudo/pseudo.mk @@ -16,7 +16,12 @@ HOST_PSEUDO_DEPENDENCIES = host-attr host-sqlite # configure script is not generated by autoconf, so passing --libdir # is necessary, even if the infrastructure passes --prefix already. +# It also does not use CFLAGS from the environment, they need to be +# specified with a custom --cflags option. Also force rpath to avoid +# a warning at configure time. HOST_PSEUDO_CONF_OPTS = \ + --cflags="$(HOSTCFLAGS)" \ + --with-rpath=$(HOST_DIR)/usr/lib \ --bits=$(if $(filter %64,$(HOSTARCH)),64,32) \ --libdir=$(HOST_DIR)/usr/lib \ --with-sqlite=$(HOST_DIR)/usr -- 2.30.2