Fix mingw build?

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4742 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2024-01-07 21:35:51 +00:00
parent 49907bc8ee
commit 8a1a182479

View File

@ -495,12 +495,12 @@ XOPT_SOURCES := deps/xopt/xopt.c
XOPT_OBJS := $(call get_objs,XOPT_SOURCES) XOPT_OBJS := $(call get_objs,XOPT_SOURCES)
$(filter $(BUILD_DIR)/win%,$(XOPT_OBJS)): CFLAGS += \ $(filter $(BUILD_DIR)/win%,$(XOPT_OBJS)): CFLAGS += \
-DHAVE_SNPRINTF \ -DHAVE_SNPRINTF \
-DHAVE_VSNPRINTF \
-DHAVE_VASNPRINTF \ -DHAVE_VASNPRINTF \
-DHAVE_VASPRINTF \ -DHAVE_VASPRINTF \
-Dvsnprintf=rpl_vsnprintf -Dvsnprintf=rpl_vsnprintf
$(XOPT_OBJS): CFLAGS += \ $(XOPT_OBJS): CFLAGS += \
-Wno-implicit-const-int-float-conversion -Wno-implicit-const-int-float-conversion \
-Wno-pointer-to-int-cast
QUICKJS_SOURCES := \ QUICKJS_SOURCES := \
deps/quickjs/cutils.c \ deps/quickjs/cutils.c \