diff --git a/build/make/config-mingw-w64.mk b/build/make/config-mingw-w64.mk index 09babb7be0a..e51c9378cc7 100644 --- a/build/make/config-mingw-w64.mk +++ b/build/make/config-mingw-w64.mk @@ -123,6 +123,8 @@ else $(error unknown WINDOWS_VERSION) endif +MPT_COMPILER_NOALLOCAH=1 + ifneq ($(MINGW_COMPILER),clang) # See . MPT_COMPILER_NOIPARA=1 diff --git a/build/make/config-mingw.mk b/build/make/config-mingw.mk index 782f9b7648b..c60abafcd1f 100644 --- a/build/make/config-mingw.mk +++ b/build/make/config-mingw.mk @@ -74,6 +74,8 @@ CXXFLAGS += -ffunction-sections -fdata-sections CFLAGS += -ffunction-sections -fdata-sections LDFLAGS += -Wl,--gc-sections +MPT_COMPILER_NOALLOCAH=1 + CXXFLAGS += -march=i586 -m80387 -mtune=pentium CFLAGS += -march=i586 -m80387 -mtune=pentium diff --git a/build/make/config-mingw32crt.mk b/build/make/config-mingw32crt.mk index e18eb394ce1..caca83c7f0e 100644 --- a/build/make/config-mingw32crt.mk +++ b/build/make/config-mingw32crt.mk @@ -74,6 +74,8 @@ CXXFLAGS += -ffunction-sections -fdata-sections CFLAGS += -ffunction-sections -fdata-sections LDFLAGS += -Wl,--gc-sections +MPT_COMPILER_NOALLOCAH=1 + CXXFLAGS += -march=i386 -m80387 -mtune=i486 CFLAGS += -march=i386 -m80387 -mtune=i486