aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
authorArmin Weatherwax2011-06-30 08:21:57 +0200
committerArmin Weatherwax2011-11-13 14:28:27 +0100
commitf0e9b30faea4c4b9a9957fa24bfc355e276e3e1d (patch)
tree07dae98c07a9bd20a8af0d536e0c02272c4155b1 /linden/indra
parent2 fixes in llxmlnode: pass LLUUID& instead of LLUUID to setUUIDValue; remove ... (diff)
downloadmeta-impy-f0e9b30faea4c4b9a9957fa24bfc355e276e3e1d.zip
meta-impy-f0e9b30faea4c4b9a9957fa24bfc355e276e3e1d.tar.gz
meta-impy-f0e9b30faea4c4b9a9957fa24bfc355e276e3e1d.tar.bz2
meta-impy-f0e9b30faea4c4b9a9957fa24bfc355e276e3e1d.tar.xz
Linux64: don't use -ffast-math for release builds, it didn't do anything for us.
But lloctree crashes teleporting to mega regions using -ffast-math .
Diffstat (limited to 'linden/indra')
-rw-r--r--linden/indra/cmake/00-Common.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/cmake/00-Common.cmake b/linden/indra/cmake/00-Common.cmake
index 7d50f25..d92aa0f 100644
--- a/linden/indra/cmake/00-Common.cmake
+++ b/linden/indra/cmake/00-Common.cmake
@@ -195,7 +195,8 @@ if (LINUX)
195 # This rather needs to be done elsewhere 195 # This rather needs to be done elsewhere
196 # anyway these are the flags for the 64bit releases: 196 # anyway these are the flags for the 64bit releases:
197 add_definitions(-DLINUX64=1 -pipe) 197 add_definitions(-DLINUX64=1 -pipe)
198 set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fomit-frame-pointer -mmmx -msse -mfpmath=sse -msse2 -ffast-math -ftree-vectorize -fweb -fexpensive-optimizations -frename-registers") 198 # with -ffast-math lloctree crashes teleporting to mega regions, and it didn't do much for us anyway
199 set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fomit-frame-pointer -mmmx -msse -mfpmath=sse -msse2 -ftree-vectorize -fweb -fexpensive-optimizations -frename-registers")
199 endif (${ARCH} STREQUAL "x86_64") 200 endif (${ARCH} STREQUAL "x86_64")
200 set(CMAKE_CXX_FLAGS_RELEASESSE2 "${CMAKE_CXX_FLAGS_RELEASESSE2} -mfpmath=sse2 -msse2") 201 set(CMAKE_CXX_FLAGS_RELEASESSE2 "${CMAKE_CXX_FLAGS_RELEASESSE2} -mfpmath=sse2 -msse2")
201 endif (VIEWER) 202 endif (VIEWER)