From 209fb2adb2091a191a124ed532596953df69dc2c Mon Sep 17 00:00:00 2001
From: Armin Weatherwax
Date: Fri, 10 Sep 2010 10:21:15 +0200
Subject: linux64: move cxx flags from external script into 00-Common.cmake for
 transparency

todo: do it less hacky
---
 linden/indra/cmake/00-Common.cmake | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

(limited to 'linden')

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)
       add_definitions(-fno-stack-protector)
     endif (NOT STANDALONE)
     if (${ARCH} STREQUAL "x86_64")
-       add_definitions( -DLINUX64=1 )
+       add_definitions( -DLINUX64=1
+			#this rather needs to be done elsewhere
+			#anyway these are the flags for the 64bit releases:
+			-DLL_VECTORIZE=1
+			-O2
+			-fomit-frame-pointer
+			-pipe 
+			-mmmx
+			-msse
+			-mfpmath=sse
+			-msse2
+			-ffast-math
+			-ftree-vectorize
+			-fweb -fexpensive-optimizations
+			-frename-registers
+			)
+
     endif (${ARCH} STREQUAL "x86_64")
   endif (VIEWER)
 
-- 
cgit v1.1