[knot-dns] use libnettle 3.4.1 to build gnutls (#2013)

This commit is contained in:
Jonathan Foote 2018-12-10 09:46:18 -05:00 committed by Max Moroz
parent 9dfd3535d5
commit 269cfb6bf8
2 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,7 @@ RUN apt-get update && \
gperf libtool make pkg-config texinfo wget
RUN git clone --depth=1 --recursive https://git.savannah.gnu.org/git/libunistring.git
RUN git clone --depth=1 https://git.lysator.liu.se/nettle/nettle.git
RUN git clone https://git.lysator.liu.se/nettle/nettle.git
RUN git clone --depth=1 https://gitlab.com/gnutls/gnutls.git
RUN git clone --depth=1 https://gitlab.labs.nic.cz/knot/knot-dns

View File

@ -39,7 +39,9 @@ if [[ $CFLAGS = *sanitize=memory* ]]; then
NETTLE_CONFIGURE_FLAGS="--disable-assembler --disable-fat"
fi
cd $SRC/nettle
git checkout tags/nettle_3.4.1_release_20181204
bash .bootstrap
./configure --enable-mini-gmp --enable-static --disable-shared --disable-documentation --prefix=$DEPS_PATH $NETTLE_CONFIGURE_FLAGS
( make -j$(nproc) || make -j$(nproc) ) && make install