gnutls, vmime: remove unnecessary -D flags

This commit is contained in:
Mark Brand 2019-07-08 13:10:54 +02:00
parent b422d152eb
commit 521e8072aa
2 changed files with 2 additions and 4 deletions

View File

@ -19,8 +19,6 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
# AI_ADDRCONFIG referenced by src/serv.c but not provided by mingw.
# Value taken from https://msdn.microsoft.com/library/windows/desktop/ms737530
cd '$(1)' && autoreconf -fi && ./configure \
$(MXE_CONFIGURE_OPTS) \
--disable-rpath \
@ -33,7 +31,7 @@ define $(PKG)_BUILD
--with-libregex-libs="-lgnurx" \
--without-p11-kit \
--disable-silent-rules \
CPPFLAGS='-DWINVER=0x0501 -DAI_ADDRCONFIG=0x0400 -DIPV6_V6ONLY=27' \
CPPFLAGS='-DWINVER=0x0501' \
LIBS='-lws2_32' \
ac_cv_prog_AR='$(TARGET)-ar'
$(MAKE) -C '$(1)' -j '$(JOBS)' install

View File

@ -18,7 +18,7 @@ define $(PKG)_BUILD
-DCMAKE_RANLIB='$(PREFIX)/bin/$(TARGET)-ranlib' \
-DVMIME_HAVE_MESSAGING_PROTO_SENDMAIL=False \
-DVMIME_HAVE_MLANG_H=False \
-DCMAKE_CXX_FLAGS='-DWINVER=0x0501 -DAI_ADDRCONFIG=0x0400 -DIPV6_V6ONLY=27' \
-DCMAKE_CXX_FLAGS='-DWINVER=0x05' \
-DVMIME_BUILD_STATIC_LIBRARY=$(CMAKE_STATIC_BOOL) \
-DVMIME_BUILD_SHARED_LIBRARY=$(CMAKE_SHARED_BOOL) \
-DVMIME_BUILD_SAMPLES=OFF \