fix build
[LibreOffice.git] / external / libxml2 / libxml2-vc10.patch
blob15bc4d973ea7f5f6fccd0a6632876156c9159b3c
1 Add SOLARINC, and disable SSE2 default for MSVC2012
3 --- build/libxml2-2.7.6/win32/Makefile.msvc.old 2010-09-20 20:22:41.500000000 +0200
4 +++ build/libxml2-2.7.6/win32/Makefile.msvc 2010-09-20 20:23:00.250000000 +0200
5 @@ -59,6 +59,7 @@
6 CFLAGS = $(CFLAGS) /D "HAVE_PTHREAD_H"
7 !endif
8 CFLAGS = $(CFLAGS) /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE
9 +CFLAGS = $(CFLAGS) $(SOLARINC)
11 # The linker and its options.
12 LD = link.exe