Merge pull request #1000 from webgeek1234/master

Mingw cross compile fixes
This commit is contained in:
Autechre authored and GitHub committed 2020-12-28 23:50:33 +01:00
commit 3d42830927
1 file changed
+4 -1
+4 -1
View File
@@ -38,6 +38,9 @@ ifeq ($(HAVE_LTCG),1)
SHARED += -flto
endif
ifneq ($(AS),)
CC_AS := ${AS}
endif
CC_AS ?= ${CC_PREFIX}as
MFLAGS :=
@@ -1019,7 +1022,7 @@ else
CXXFLAGS += -DTARGET_NO_OPENMP
endif
ifeq ($(platform), win)
LDFLAGS_END += -Wl,-Bstatic -lgmp -Wl,-Bstatic -lgomp -lwsock32
LDFLAGS_END += -Wl,-Bstatic -lgomp -lwsock32
endif
NEED_CXX11=1
NEED_PTHREAD=1