Ensure the correct stack alignment on Win32.

This commit is contained in:
Zhang Xianyi 2013-07-17 15:19:07 +08:00
parent c69e73b868
commit b67252c2e4
1 changed files with 8 additions and 1 deletions

View File

@ -184,8 +184,15 @@ ifeq ($(GCCMINORVERSIONGTEQ7), 1)
CCOMMON_OPT += -DMS_ABI
endif
endif
endif
# Ensure the correct stack alignment on Win32
# http://permalink.gmane.org/gmane.comp.lib.openblas.general/97
ifeq ($(ARCH), x86)
CCOMMON_OPT += -mincoming-stack-boundary=2
FCOMMON_OPT += -mincoming-stack-boundary=2
endif
endif
ifeq ($(OSNAME), Interix)