diff --git a/src/Makefile b/src/Makefile index c45f0d1db..4f9a27ab4 100644 --- a/src/Makefile +++ b/src/Makefile @@ -681,6 +681,8 @@ ifeq ($(COMP),gcc) else CXXFLAGS += -Wstack-usage=128000 -fno-ipa-cp-clone -fconstexpr-ops-limit=500000000 endif +else ifeq ($(COMP),mingw) + CXXFLAGS += -fno-ipa-cp-clone endif ### On mingw use Windows threads, otherwise POSIX