path: root/INSTALL
diff options
authorSteven Barth <>2015-01-08 07:54:34 +0100
committerPablo Neira Ayuso <>2015-01-08 12:23:13 +0100
commitb3529cf43bba5c3c4cddefa7f5d0143d510fd3ec (patch)
tree20bb09a946f083601714a3fa38aab99c1f5fdbb7 /INSTALL
parentc434c709e0a8e0ca2aa92ad139b61025173ae033 (diff)
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 <>
Diffstat (limited to 'INSTALL')
1 files changed, 7 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index ba6f7a38..3e9a6ad0 100644
@@ -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