#!/bin/sh git clean -dfx PREFIX=/opt/bind-9.13.2+3+124c7ae OpenSSL=/opt/OpenSSL-1.1.1-pre7+0+77cdad3 LDFLAGS="-Wl,-R$PREFIX/lib,-R$OpenSSL/lib" \ ./configure --enable-threads --enable-shared \ --enable-symtable=all --enable-warn-shadow --enable-warn-error \ --enable-dnstap --enable-querytrace \ --with-dlopen \ --with-libjson --with-lmdb \ --with-readline --with-libxml2 --with-zlib \ --with-libfstrm=$PREFIX \ --with-openssl=$OpenSSL \ --with-randomdev=/dev/urandom \ --without-atf --without-pkcs11 --without-gssapi --without-gost \ --prefix=$PREFIX --mandir=$PREFIX/man \ --localstatedir=/var/opt/bind/var \ --sysconfdir=/var/opt/bind/etc LD_RUN_PATH=/opt/bind-9.13.2+3+124c7ae/lib:/opt/OpenSSL-1.1.1-pre7+0+77cdad3/lib make EXT_CFLAGS="-mtune=native -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4" -j20 all