Browse Source

Ensure the correct stack alignment on Win32.

tags/v0.2.7
Zhang Xianyi 12 years ago
parent
commit
b67252c2e4
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      Makefile.system

+ 7
- 0
Makefile.system 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)


Loading…
Cancel
Save