]> git.sesse.net Git - vlc/commitdiff
Disable some ciphers in libgcrypt. 20% size reduction on gcrypt for windows. This...
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 7 Mar 2008 22:49:47 +0000 (14:49 -0800)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 7 Mar 2008 22:53:40 +0000 (14:53 -0800)
extras/contrib/src/Makefile

index a1f8bff338fada2f7650b788948f066970794d2a..f368a95571e3e21f0eaf4673584507e9744b77c9 100644 (file)
@@ -1806,7 +1806,7 @@ libgcrypt: libgcrypt-$(GCRYPT_VERSION).tar.bz2
 
 .gcrypt: libgcrypt .gpg-error
 ifdef HAVE_WIN32
-       (cd $<; ./autogen.sh && $(HOSTCC) ./configure $(HOSTCONF) --target=i586-mingw32msvc --prefix=$(PREFIX) CFLAGS="$(CFLAGS)" && sed -i 46s@sys/times.h@sys/time.h@ cipher/random.c && make && make install)
+       (cd $<; ./autogen.sh && $(HOSTCC) ./configure $(HOSTCONF) --target=i586-mingw32msvc --prefix=$(PREFIX) CFLAGS="$(CFLAGS)" --enable-ciphers=aes,des && sed -i 46s@sys/times.h@sys/time.h@ cipher/random.c && make && make install)
 else
 ifdef HAVE_DARWIN_OS_ON_INTEL
        (cd $<; $(HOSTCC) ./configure --host=$(HOST) --build=$(BUILD) --prefix=$(PREFIX) --disable-asm CFLAGS="$(CFLAGS)" && make && make install)