glm/glm-nonx86.patch
Stephan Kulow 4707d1f60a Accepting request 185434 from devel:libraries:c_c++
- convert sources to UNIX format using dos2unix
- fix build on non x86 architectures (glm-nonx86.patch) (forwarded request 185423 from k0da)

OBS-URL: https://build.opensuse.org/request/show/185434
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glm?expand=0&rev=2
2013-08-06 04:55:50 +00:00

14 lines
425 B
Diff

diff -Nwur glm-0.9.4.4.orig/CMakeLists.txt glm-0.9.4.4/CMakeLists.txt
--- glm-0.9.4.4.orig/CMakeLists.txt 2013-08-01 12:15:16.575830000 +0200
+++ glm-0.9.4.4/CMakeLists.txt 2013-08-01 12:16:05.579698000 +0200
@@ -54,9 +54,6 @@
add_definitions(-DGLM_FORCE_PURE)
- if(CMAKE_COMPILER_IS_GNUCXX)
- add_definitions(-mfpmath=387)
- endif()
endif()
option(GLM_TEST_ENABLE_FAST_MATH "Enable fast math optimizations" OFF)