diff options
Diffstat (limited to 'linden/indra/cmake/00-Common.cmake')
-rw-r--r-- | linden/indra/cmake/00-Common.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/cmake/00-Common.cmake b/linden/indra/cmake/00-Common.cmake index 032a3cf..0e90073 100644 --- a/linden/indra/cmake/00-Common.cmake +++ b/linden/indra/cmake/00-Common.cmake | |||
@@ -186,8 +186,8 @@ if (DARWIN) | |||
186 | add_definitions(-DLL_DARWIN=1) | 186 | add_definitions(-DLL_DARWIN=1) |
187 | set(CMAKE_CXX_LINK_FLAGS "-Wl,-headerpad_max_install_names,-search_paths_first") | 187 | set(CMAKE_CXX_LINK_FLAGS "-Wl,-headerpad_max_install_names,-search_paths_first") |
188 | set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_CXX_LINK_FLAGS}") | 188 | set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_CXX_LINK_FLAGS}") |
189 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mlong-branch") | 189 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mlong-branch -msse3 -msse4.1 -msse4.2 -mssse3 -w") |
190 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mlong-branch") | 190 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mlong-branch -msse3 -msse4.1 -msse4.2 -mssse3 -w") |
191 | # NOTE: it's critical that the optimization flag is put in front. | 191 | # NOTE: it's critical that the optimization flag is put in front. |
192 | # NOTE: it's critical to have both CXX_FLAGS and C_FLAGS covered. | 192 | # NOTE: it's critical to have both CXX_FLAGS and C_FLAGS covered. |
193 | set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O0 ${CMAKE_CXX_FLAGS_RELWITHDEBINFO}") | 193 | set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O0 ${CMAKE_CXX_FLAGS_RELWITHDEBINFO}") |