mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-26 07:17:23 +00:00
[host] ask for unicode with mingw-w64 makefile
Pass -DUNICODE as a CFLAG. The visual studio project asks for a unicode (wide-string) build, but the unix makefile did not. This fixes the build on msys2.
This commit is contained in:
parent
882b31aeaa
commit
80581a4aa2
@ -6,7 +6,7 @@ CFLAGS += -ffast-math
|
|||||||
CFLAGS += -fdata-sections -ffunction-sections
|
CFLAGS += -fdata-sections -ffunction-sections
|
||||||
CFLAGS += -I../ -I.
|
CFLAGS += -I../ -I.
|
||||||
LDFLAGS += -Wl,--gc-sections -mwindows
|
LDFLAGS += -Wl,--gc-sections -mwindows
|
||||||
CFLAGS += -DWINVER=0x0602
|
CFLAGS += -DWINVER=0x0602 -DUNICODE
|
||||||
|
|
||||||
PREFIX ?= x86_64-w64-mingw32-
|
PREFIX ?= x86_64-w64-mingw32-
|
||||||
STRIP = $(PREFIX)strip
|
STRIP = $(PREFIX)strip
|
||||||
|
Loading…
Reference in New Issue
Block a user