Add /arch:AVX for chacha_avx.cpp to Nmake recipe
parent
0ee1cb2ae9
commit
b354eee1ed
|
|
@ -233,6 +233,13 @@ x64masm.obj:
|
|||
x64dll.obj:
|
||||
$(AS) $(ASFLAGS) /Fo x64dll.obj /c x64dll.asm
|
||||
|
||||
# You may need to delete this on early versions of Visual Studio.
|
||||
# Down-level compilers will simply see chacha_avx.cpp as an empty file.
|
||||
!IF "$(PLATFORM)" == "x64" || "$(PLATFORM)" == "X64" || "$(PLATFORM)" == "amd64" || "$(PLATFORM)" == "x86" || "$(PLATFORM)" == "X86"
|
||||
chacha_avx.obj:
|
||||
$(CXX) $(CXXFLAGS) /arch:AVX /c chacha_avx.cpp
|
||||
!endif
|
||||
|
||||
.cpp.obj:
|
||||
$(CXX) $(CXXFLAGS) /c $<
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue