From b3529cf43bba5c3c4cddefa7f5d0143d510fd3ec Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Thu, 8 Jan 2015 07:54:34 +0100 Subject: build: add --with-mini-gmp switch to disable linking libgmp This allows to disable linking the >400 KB big libgmp and replace it with the builtin mini-gmp which only increases size by ~30KB. Enabling this selectively decreases debugging verbosity (pr_debug). Signed-off-by: Steven Barth Signed-off-by: Pablo Neira Ayuso --- INSTALL | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index ba6f7a38..3e9a6ad0 100644 --- a/INSTALL +++ b/INSTALL @@ -44,6 +44,13 @@ Installation instructions for nftables Disable debugging + --with-mini-gmp + + Use builtin mini-gmp instead of linking with a shared libgmp. + This is useful for embedded platforms optimizing for size and + having no other use for libgmp. + Note: This decreases the debugging verbosity in some files. + Suggested configuration options: --prefix=/ --datarootdir=/usr/share Run "make" to compile nftables, "make install" to install it in the -- cgit v1.2.3