[Buildroot] [PATCH 3/6] package/pseudo: force rpath and pass our host CFLAGS
Yann E. MORIN
yann.morin.1998 at free.fr
Mon Nov 7 21:23:37 UTC 2016
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" <yann.morin.1998 at free.fr>
Cc: Gaël PORTAY <gael.portay at savoirfairelinux.com>
Cc: Patrick Keroulas <patrick.keroulas at savoirfairelinux.com>
Cc: Erico Nunes <nunes.erico at gmail.com>
Cc: Julien BOIBESSOT <julien.boibessot at free.fr>
---
package/pseudo/pseudo.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/pseudo/pseudo.mk b/package/pseudo/pseudo.mk
index 3b0ba86..98c7de5 100644
--- a/package/pseudo/pseudo.mk
+++ b/package/pseudo/pseudo.mk
@@ -17,6 +17,8 @@ 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.
HOST_PSEUDO_CONF_OPTS = \
+ --cflags='$(HOSTCFLAGS)' \
+ --with-rpath=$(HOST_DIR)/usr/lib \
--bits=$(HOSTARCH_BITS) \
--libdir=$(HOST_DIR)/usr/lib \
--with-sqlite=$(HOST_DIR)/usr
--
2.7.4
More information about the buildroot
mailing list