aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorArmin Weatherwax2010-09-10 10:21:15 +0200
committerArmin Weatherwax2010-09-17 12:00:09 +0200
commitd21f94269dd83092620c452656d9ff1c7552703f (patch)
tree9f7040181d075d9883040bee8a03b98ef6a9fa24
parentfix possible crash caused by hudmanager (diff)
downloadmeta-impy-d21f94269dd83092620c452656d9ff1c7552703f.zip
meta-impy-d21f94269dd83092620c452656d9ff1c7552703f.tar.gz
meta-impy-d21f94269dd83092620c452656d9ff1c7552703f.tar.bz2
meta-impy-d21f94269dd83092620c452656d9ff1c7552703f.tar.xz
linux64: move cxx flags from external script into 00-Common.cmake for transparency
todo: do it less hacky
-rw-r--r--linden/indra/cmake/00-Common.cmake18
1 files changed, 17 insertions, 1 deletions
diff --git a/linden/indra/cmake/00-Common.cmake b/linden/indra/cmake/00-Common.cmake
index c6b6858..d1f379c 100644
--- a/linden/indra/cmake/00-Common.cmake
+++ b/linden/indra/cmake/00-Common.cmake
@@ -169,7 +169,23 @@ if (LINUX)
169 add_definitions(-fno-stack-protector) 169 add_definitions(-fno-stack-protector)
170 endif (NOT STANDALONE) 170 endif (NOT STANDALONE)
171 if (${ARCH} STREQUAL "x86_64") 171 if (${ARCH} STREQUAL "x86_64")
172 add_definitions( -DLINUX64=1 ) 172 add_definitions( -DLINUX64=1
173 #this rather needs to be done elsewhere
174 #anyway these are the flags for the 64bit releases:
175 -DLL_VECTORIZE=1
176 -O2
177 -fomit-frame-pointer
178 -pipe
179 -mmmx
180 -msse
181 -mfpmath=sse
182 -msse2
183 -ffast-math
184 -ftree-vectorize
185 -fweb -fexpensive-optimizations
186 -frename-registers
187 )
188
173 endif (${ARCH} STREQUAL "x86_64") 189 endif (${ARCH} STREQUAL "x86_64")
174 endif (VIEWER) 190 endif (VIEWER)
175 191