Force memalign() on i386 Linux when alignment < 16 (fixes #4432)

This commit is contained in:
Flössie
2018-03-17 10:32:44 +01:00
parent e63e583c7e
commit c73844d722
5 changed files with 86 additions and 0 deletions

View File

@@ -103,6 +103,9 @@ if(HAVE_X86_SSE_MATH)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse2 -mfpmath=sse")
endif()
# On i386 Linux we can fix unaligned SSE malloc (see GitHub issue #4432)
include(FindUnalignedMalloc)
if(WIN32)
# Add additional paths. Look in the MinGW path first, then in the Gtkmm path.
# If you wish to build some dependent libraries, you have to install them in MinGW to use them: