mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Tell MSVC our source files are UTF-8
This commit is contained in:
parent
8cbda9e18a
commit
0213b80693
@ -200,7 +200,7 @@ def init_env():
|
|||||||
|
|
||||||
if iswindows:
|
if iswindows:
|
||||||
cc = cxx = msvc.cc
|
cc = cxx = msvc.cc
|
||||||
cflags = '/c /nologo /MD /W3 /EHsc /DNDEBUG'.split()
|
cflags = '/c /nologo /MD /W3 /EHsc /utf-8 /DNDEBUG'.split()
|
||||||
ldflags = '/DLL /nologo /INCREMENTAL:NO /NODEFAULTLIB:libcmt.lib'.split()
|
ldflags = '/DLL /nologo /INCREMENTAL:NO /NODEFAULTLIB:libcmt.lib'.split()
|
||||||
# cflags = '/c /nologo /Ox /MD /W3 /EHsc /Zi'.split()
|
# cflags = '/c /nologo /Ox /MD /W3 /EHsc /Zi'.split()
|
||||||
# ldflags = '/DLL /nologo /INCREMENTAL:NO /DEBUG'.split()
|
# ldflags = '/DLL /nologo /INCREMENTAL:NO /DEBUG'.split()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user