mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-12 22:14:29 +02:00
Simplify Visual Studio ifdefs
Use _MSC_VER as the intrinsics compile without /arch:SSE2 on x86. Also avoids applying the same flag to all files which defeated the purpose of the runtime cpu-detection. Thanks to Frank B. for the suggestion! Change-Id: Iae9933a3cee704e663d9bbd53d0fa68e8c025425
This commit is contained in:
@ -27,7 +27,6 @@ If cl.exe is in your PATH rerun nmake with ARCH=<arch>.
|
||||
|
||||
!IF "$(ARCH)" == "x86"
|
||||
PLATFORM_LDFLAGS = /SAFESEH
|
||||
PLATFORM_SSE2 = /arch:SSE2
|
||||
!ENDIF
|
||||
|
||||
#############################################################
|
||||
@ -43,7 +42,6 @@ LNKDLL = link.exe /DLL
|
||||
LNKLIB = link.exe /lib
|
||||
LNKEXE = link.exe
|
||||
LFLAGS = /nologo /machine:$(ARCH)
|
||||
CFLAGS = $(CFLAGS) $(PLATFORM_SSE2)
|
||||
|
||||
CFGSET = FALSE
|
||||
!IF "$(OBJDIR)" == ""
|
||||
|
Reference in New Issue
Block a user