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 --- src/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 378424db..099052a9 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -51,4 +51,8 @@ if BUILD_CLI nft_SOURCES += cli.c endif +if BUILD_MINIGMP +nft_SOURCES += mini-gmp.c +endif + nft_LDADD = ${LIBMNL_LIBS} ${LIBNFTNL_LIBS} -- cgit v1.2.3