diff options
Diffstat (limited to 'linden/indra/cmake/00-Common.cmake')
-rw-r--r-- | linden/indra/cmake/00-Common.cmake | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/linden/indra/cmake/00-Common.cmake b/linden/indra/cmake/00-Common.cmake index d1f379c..3497ec9 100644 --- a/linden/indra/cmake/00-Common.cmake +++ b/linden/indra/cmake/00-Common.cmake | |||
@@ -169,23 +169,10 @@ 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 | # This rather needs to be done elsewhere |
173 | #this rather needs to be done elsewhere | 173 | # anyway these are the flags for the 64bit releases: |
174 | #anyway these are the flags for the 64bit releases: | 174 | add_definitions(-DLINUX64=1 -pipe) |
175 | -DLL_VECTORIZE=1 | 175 | 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") |
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 | |||
189 | endif (${ARCH} STREQUAL "x86_64") | 176 | endif (${ARCH} STREQUAL "x86_64") |
190 | endif (VIEWER) | 177 | endif (VIEWER) |
191 | 178 | ||