aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--linden/indra/cmake/00-Common.cmake21
-rw-r--r--linden/indra/newview/llappviewer.cpp2
2 files changed, 5 insertions, 18 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
diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp
index 817517e..0fbcafc 100644
--- a/linden/indra/newview/llappviewer.cpp
+++ b/linden/indra/newview/llappviewer.cpp
@@ -61,7 +61,7 @@
61#include "llviewerwindow.h" 61#include "llviewerwindow.h"
62#include "llviewerdisplay.h" 62#include "llviewerdisplay.h"
63#include "llviewermedia.h" 63#include "llviewermedia.h"
64 64#include "llv4math.h" // for LL_VECTORIZE
65 65
66#include "llviewermessage.h" 66#include "llviewermessage.h"
67#include "llviewerobjectlist.h" 67#include "llviewerobjectlist.h"