Add some useful options to the host build.
We don't need docs, static, internal builddirs and we don't
need multi-lib arch discovery via gcc.

Signed-off-by: Christian Melki <[email protected]>
---
 rules/host-libffi.make | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/rules/host-libffi.make b/rules/host-libffi.make
index fd9736928..1e9412edf 100644
--- a/rules/host-libffi.make
+++ b/rules/host-libffi.make
@@ -18,6 +18,9 @@ HOST_PACKAGES-$(PTXCONF_HOST_LIBFFI) += host-libffi
 HOST_LIBFFI_CONF_TOOL  := autoconf
 HOST_LIBFFI_CONF_OPT   := \
        $(HOST_AUTOCONF) \
-       --disable-static
+       --disable-builddir \
+       --disable-static \
+       --disable-docs \
+       --disable-multi-os-directory
 
 # vim: syntax=make
-- 
2.34.1


Reply via email to