diff options
Diffstat (limited to 'bridges/source/cpp_uno/mingw_intel/makefile.mk')
-rw-r--r-- | bridges/source/cpp_uno/mingw_intel/makefile.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bridges/source/cpp_uno/mingw_intel/makefile.mk b/bridges/source/cpp_uno/mingw_intel/makefile.mk index 2c7a8da48527..d2b08096a3cd 100644 --- a/bridges/source/cpp_uno/mingw_intel/makefile.mk +++ b/bridges/source/cpp_uno/mingw_intel/makefile.mk @@ -51,6 +51,12 @@ CFLAGS += -DBROKEN_ALLOCA # work with the .cxx sources in this directory: CFLAGSCXX += -fno-omit-frame-pointer +# In case the compiler supports AVX this code segfaults so specifically turn +# it off. +.IF "$(HAVE_GCC_AVX)" == "YES" + CFLAGSCXX+= -mno-avx +.ENDIF + NOOPTFILES= \ $(SLO)$/uno2cpp.obj |