summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
authorLogan Dethrow <log@lindenlab.com>2011-07-19 15:06:56 -0400
committerLogan Dethrow <log@lindenlab.com>2011-07-19 15:06:56 -0400
commit0f501293bdf5498369e5b6e4409cfdc758366d9e (patch)
treee8cd32ff25f2ef00d43a69491a37a3b59f169e85 /indra/cmake
parent792667ff8ef13e16823d96b490ea9a4f498425ea (diff)
parent4dc0850da7469906e5ad052da71830b05005295b (diff)
merge
Diffstat (limited to 'indra/cmake')
-rw-r--r--indra/cmake/00-Common.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake
index 2c974fb4ff..0266239454 100644
--- a/indra/cmake/00-Common.cmake
+++ b/indra/cmake/00-Common.cmake
@@ -171,7 +171,10 @@ if (LINUX)
add_definitions(-fvisibility=hidden)
# don't catch SIGCHLD in our base application class for the viewer - some of our 3rd party libs may need their *own* SIGCHLD handler to work. Sigh! The viewer doesn't need to catch SIGCHLD anyway.
add_definitions(-DLL_IGNORE_SIGCHLD)
- add_definitions(-march=pentium4 -mfpmath=sse)
+ if (WORD_SIZE EQUAL 32)
+ add_definitions(-march=pentium4)
+ endif (WORD_SIZE EQUAL 32)
+ add_definitions(-mfpmath=sse)
#add_definitions(-ftree-vectorize) # THIS CRASHES GCC 3.1-3.2
if (NOT STANDALONE)
# this stops us requiring a really recent glibc at runtime