diff options
author | Mark Brand <mabrand@mabrand.nl> | 2011-11-22 23:39:54 (GMT) |
---|---|---|
committer | Mark Brand <mabrand@mabrand.nl> | 2011-11-22 23:39:54 (GMT) |
commit | ccf398a35bf8e465ba597ae10a22cf9fe69f2352 (patch) | |
tree | c82f5510a1600f7fe80e25db262821f99e594852 /src | |
parent | 716c51a0248c70e88e79bea4b02720cef78b3100 (diff) | |
download | mxe-ccf398a35bf8e465ba597ae10a22cf9fe69f2352.zip mxe-ccf398a35bf8e465ba597ae10a22cf9fe69f2352.tar.gz mxe-ccf398a35bf8e465ba597ae10a22cf9fe69f2352.tar.bz2 |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/gnutls.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gnutls.mk b/src/gnutls.mk index 3cb0d64..6e62a35 100644 --- a/src/gnutls.mk +++ b/src/gnutls.mk @@ -25,6 +25,7 @@ define $(PKG)_BUILD 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 @@ define $(PKG)_BUILD --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 \ |