if we're serious about the SSE thing then we should add these compiler flags for linux. though it's not quite enough, still.

meow-7.2.2
Tofu Linden 2010-05-21 11:52:00 +01:00
parent bf5f215fbc
commit cd13bc0e04
1 changed files with 1 additions and 0 deletions

View File

@ -169,6 +169,7 @@ 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=pentium3 -mfpmath=sse -ftree-vectorize)
if (NOT STANDALONE)
# this stops us requiring a really recent glibc at runtime
add_definitions(-fno-stack-protector)