Skip to content

Commit

Permalink
[knot-dns] tiny cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Salzman <[email protected]>
  • Loading branch information
salzmdan committed Mar 14, 2024
1 parent ee028f3 commit b3c54b4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions projects/knot-dns/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export PKG_CONFIG_PATH=$DEPS_PATH/lib64/pkgconfig:$DEPS_PATH/lib/pkgconfig
export CPPFLAGS="-I$DEPS_PATH/include"
export LDFLAGS="-L$DEPS_PATH/lib"
export GNULIB_SRCDIR=$SRC/gnulib
export GNULIB_TOOL=$SRC/gnulib/gnulib-tool

cd $SRC/libunistring
./autogen.sh
Expand All @@ -47,12 +46,10 @@ bash .bootstrap
cd $SRC/gnutls
touch .submodule.stamp
./bootstrap
GNUTLS_CFLAGS=`echo $CFLAGS|sed s/-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION//`
LIBS="-lunistring" \
CFLAGS="$GNUTLS_CFLAGS" \
./configure --with-nettle-mini --enable-gcc-warnings --enable-static --disable-shared --with-included-libtasn1 \
./configure --with-nettle-mini --disable-gcc-warnings --enable-static --disable-shared --with-included-libtasn1 \
--with-included-unistring --without-p11-kit --disable-doc --disable-tests --disable-tools --disable-cxx \
--disable-maintainer-mode --disable-libdane --disable-gcc-warnings --prefix=$DEPS_PATH $GNUTLS_CONFIGURE_FLAGS
--disable-maintainer-mode --disable-libdane --disable-full-test-suite --prefix=$DEPS_PATH $GNUTLS_CONFIGURE_FLAGS
make -j$(nproc)
make install

Expand Down

0 comments on commit b3c54b4

Please sign in to comment.