Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0823ad33 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Also -DWIN32 to keep llvm building.

Change-Id: Ic8e70f35dda23226d60010a38cf5633840772310
parent 79b199b8
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -37,6 +37,9 @@ $(combo_2nd_arch_prefix)HOST_GLOBAL_CFLAGS += -D__USE_MINGW_ANSI_STDIO=1
$(combo_2nd_arch_prefix)HOST_GLOBAL_CFLAGS += -D_WIN32_WINNT=0x0500
# Get 64-bit off_t and related functions.
$(combo_2nd_arch_prefix)HOST_GLOBAL_CFLAGS += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1
# An Android-specific hack in llvm currently uses WIN32 rather than _WIN32.
# Until we know whether there are more of these, unconditionally define WIN32.
$(combo_2nd_arch_prefix)HOST_GLOBAL_CFLAGS += -DWIN32

$(combo_2nd_arch_prefix)HOST_CC := $(TOOLS_PREFIX)gcc$(TOOLS_EXE_SUFFIX)
$(combo_2nd_arch_prefix)HOST_CXX := $(TOOLS_PREFIX)g++$(TOOLS_EXE_SUFFIX)