Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'build/mingw/Makefile')
-rw-r--r--build/mingw/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/mingw/Makefile b/build/mingw/Makefile
index 972c5a8d182..dcb5fc33530 100644
--- a/build/mingw/Makefile
+++ b/build/mingw/Makefile
@@ -33,7 +33,9 @@ OBJS = \
$(OUTPUTDIR)\eventlog.o \
$(TARGETDIR)\resource.syso
-CFLAGS := $(CFLAGS) -O2 -g -DUNICODE -DHAVE_STDINT_H=1 -I$(TOPDIR)\build\win32\include -I$(TOPDIR)\build\mingw -I$(TOPDIR)\include
+CFLAGS := $(CFLAGS) -O2 -g -DUNICODE -DHAVE_STDINT_H=1 -DZBX_BUILD_AGENT2=1 -DHAVE_THREAD_LOCAL=1 \
+ -I$(TOPDIR)\build\win32\include -I$(TOPDIR)\build\mingw -I$(TOPDIR)\include
+
RFLAGS := $(RFLAGS) --input-format=rc -O coff
GOPATH := $(GOPATH);$(TOPDIR)\go
TAGS :=