mikmod: use -DMIKMOD_STATIC to make building under windows happier

Change-Id: Ib42c336d592358c7b53bbd94d43c69ed9977679f
This commit is contained in:
Solomon Peachy 2024-06-22 10:03:01 -04:00
parent fa6b6b6c2d
commit 231797dfa8

View file

@ -18,7 +18,7 @@ MIKMOD_OBJ := $(call c2obj, $(MIKMOD_SRC))
# add source files to OTHER_SRC to get automatic dependencies # add source files to OTHER_SRC to get automatic dependencies
OTHER_SRC += $(MIKMOD_SRC) OTHER_SRC += $(MIKMOD_SRC)
MIKMODCFLAGS = $(PLUGINFLAGS) -I$(MIKMODSRCDIR) -O2 MIKMODCFLAGS = $(PLUGINFLAGS) -I$(MIKMODSRCDIR) -O2 -DMIKMOD_STATIC
# Disable stringop-truncation warnings on GCC 8 or greater # Disable stringop-truncation warnings on GCC 8 or greater
ifeq ($(shell expr $(GCCNUM) \> 800),1) ifeq ($(shell expr $(GCCNUM) \> 800),1)