changeset 2122:87d124fd37cc

package gnutls: various improvements -log build commands -build and install utilities, useful for troubleshooting -but don't try to build crywrap on Windows -specify WINVER for the sake of getaddrinfo -enable parallel building which seems to work now
author Mark Brand <mabrand@mabrand.nl>
date Wed, 23 Nov 2011 00:39:54 +0100
parents d4e14e4508f2
children 3330ede8ced7
files src/gnutls.mk
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gnutls.mk	Wed Nov 23 00:40:00 2011 +1100
+++ b/src/gnutls.mk	Wed Nov 23 00:39:54 2011 +0100
@@ -25,6 +25,7 @@
     echo '/* DEACTIVATED */' > '$(1)/gl/gai_strerror.c'
     $(SED) -i 's/^\(SUBDIRS.*\) tests/\1/;' '$(1)/Makefile.in'
     $(SED) -i 's/^\(SUBDIRS.*\) doc/\1/;' '$(1)/Makefile.in'
+    $(SED) -i 's/ crywrap//;' '$(1)/src/Makefile.in'
     $(SED) -i 's, sed , $(SED) ,g' '$(1)/gl/tests/Makefile.in'
     cd '$(1)' && ./configure \
         --host='$(TARGET)' \
@@ -36,9 +37,11 @@
         --with-included-libtasn1 \
         --with-included-libcfg \
         --without-p11-kit \
+        --disable-silent-rules \
+        CPPFLAGS='-DWINVER=0x0501' \
         LIBS='-lz -lws2_32' \
         ac_cv_prog_AR='$(TARGET)-ar'
-    $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= defexec_DATA=
+    $(MAKE) -C '$(1)' -j '$(JOBS)'
 
     '$(TARGET)-gcc' \
         -W -Wall -Werror -ansi -pedantic \