Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Workaround for libgit2/libgit2#3342

commit 3b305b0e750d222d665efd8d49de38c0f64a1e1c 1 parent d9bcdeb
@tkelman tkelman authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 deps/Makefile
View
5 deps/Makefile
@@ -1945,7 +1945,10 @@ LIBGIT2_OBJ_TARGET = $(build_shlibdir)/libgit2.$(SHLIB_EXT)
LIBGIT2_OPTS = $(CMAKE_COMMON) -DTHREADSAFE=ON
ifeq ($(OS),WINNT)
-LIBGIT2_OPTS += -DWIN32=ON -DMINGW=ON -DUSE_SSH=OFF -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_BUILD_TYPE=Debug
+LIBGIT2_OPTS += -DWIN32=ON -DMINGW=ON -DUSE_SSH=OFF -DCMAKE_SYSTEM_NAME=Windows
+ifneq ($(ARCH),x86_64)
+LIBGIT2_OPTS += -DCMAKE_C_FLAGS="-mincoming-stack-boundary=2"
+endif
ifeq ($(BUILD_OS),WINNT)
LIBGIT2_OPTS += -G"MSYS Makefiles"
else
Please sign in to comment.
Something went wrong with that request. Please try again.