$OpenBSD: patch-CMakeLists_txt,v 1.3 2017/06/15 18:02:17 rsadowski Exp $
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -77,6 +77,7 @@ if(GLM_TEST_ENABLE_LANG_EXTENSIONS)
 	if(GLM_TEST_ENABLE_FAST_MATH)
 		if(CMAKE_COMPILER_IS_GNUCXX)
 			add_definitions(-ffast-math)
+			add_definitions(-mfpmath=387)
 		endif()
 
 		if(MSVC)
