diff options
author | Aleric Inglewood | 2010-10-28 14:45:30 +0200 |
---|---|---|
committer | Aleric Inglewood | 2010-10-28 14:45:30 +0200 |
commit | c0547c39f26b3d35f587183fa432434f8a6d2608 (patch) | |
tree | ac564c4dfa24057a9b8b9586e8d9f430df514c69 /linden/indra/cmake | |
parent | Only initialize WebCore resource(s) on linux. (diff) | |
parent | Merge branch 'weekly' of http://github.com/imprudence/imprudence into weekly (diff) | |
download | meta-impy-c0547c39f26b3d35f587183fa432434f8a6d2608.zip meta-impy-c0547c39f26b3d35f587183fa432434f8a6d2608.tar.gz meta-impy-c0547c39f26b3d35f587183fa432434f8a6d2608.tar.bz2 meta-impy-c0547c39f26b3d35f587183fa432434f8a6d2608.tar.xz |
Merge branch 'weekly' into webkit_plugins
Diffstat (limited to 'linden/indra/cmake')
-rw-r--r-- | linden/indra/cmake/00-Common.cmake | 4 | ||||
-rw-r--r-- | linden/indra/cmake/Variables.cmake | 16 |
2 files changed, 7 insertions, 13 deletions
diff --git a/linden/indra/cmake/00-Common.cmake b/linden/indra/cmake/00-Common.cmake index e6433bf..4c04be9 100644 --- a/linden/indra/cmake/00-Common.cmake +++ b/linden/indra/cmake/00-Common.cmake | |||
@@ -194,8 +194,8 @@ if (DARWIN) | |||
194 | add_definitions(-DLL_DARWIN=1) | 194 | add_definitions(-DLL_DARWIN=1) |
195 | set(CMAKE_CXX_LINK_FLAGS "-Wl,-headerpad_max_install_names,-search_paths_first") | 195 | set(CMAKE_CXX_LINK_FLAGS "-Wl,-headerpad_max_install_names,-search_paths_first") |
196 | set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_CXX_LINK_FLAGS}") | 196 | set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_CXX_LINK_FLAGS}") |
197 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mlong-branch") | 197 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mlong-branch -msse3 -msse4.1 -msse4.2 -mssse3 -w") |
198 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mlong-branch") | 198 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mlong-branch -msse3 -msse4.1 -msse4.2 -mssse3 -w") |
199 | # NOTE: it's critical that the optimization flag is put in front. | 199 | # NOTE: it's critical that the optimization flag is put in front. |
200 | # NOTE: it's critical to have both CXX_FLAGS and C_FLAGS covered. | 200 | # NOTE: it's critical to have both CXX_FLAGS and C_FLAGS covered. |
201 | set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O0 ${CMAKE_CXX_FLAGS_RELWITHDEBINFO}") | 201 | set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O0 ${CMAKE_CXX_FLAGS_RELWITHDEBINFO}") |
diff --git a/linden/indra/cmake/Variables.cmake b/linden/indra/cmake/Variables.cmake index cd5bfc1..eb9c004 100644 --- a/linden/indra/cmake/Variables.cmake +++ b/linden/indra/cmake/Variables.cmake | |||
@@ -61,17 +61,11 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") | |||
61 | # set this dynamically from the build system now - | 61 | # set this dynamically from the build system now - |
62 | # NOTE: wont have a distributable build unless you add this on the configure line with: | 62 | # NOTE: wont have a distributable build unless you add this on the configure line with: |
63 | # -DCMAKE_OSX_ARCHITECTURES:STRING='i386;ppc' | 63 | # -DCMAKE_OSX_ARCHITECTURES:STRING='i386;ppc' |
64 | #set(CMAKE_OSX_ARCHITECTURES i386;ppc) | 64 | set(CMAKE_OSX_ARCHITECTURES i386) |
65 | set(CMAKE_OSX_SYSROOT /Developer/SDKs/MacOSX10.4u.sdk) | 65 | set(CMAKE_OSX_SYSROOT /Developer/SDKs/MacOSX10.5.sdk) |
66 | if (CMAKE_OSX_ARCHITECTURES MATCHES "i386" AND CMAKE_OSX_ARCHITECTURES MATCHES "ppc") | 66 | if (CMAKE_OSX_ARCHITECTURES MATCHES "i386") |
67 | set(ARCH universal) | 67 | set(ARCH i386) |
68 | else (CMAKE_OSX_ARCHITECTURES MATCHES "i386" AND CMAKE_OSX_ARCHITECTURES MATCHES "ppc") | 68 | endif (CMAKE_OSX_ARCHITECTURES MATCHES "i386") |
69 | if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "ppc") | ||
70 | set(ARCH ppc) | ||
71 | else (${CMAKE_SYSTEM_PROCESSOR} MATCHES "ppc") | ||
72 | set(ARCH i386) | ||
73 | endif (${CMAKE_SYSTEM_PROCESSOR} MATCHES "ppc") | ||
74 | endif (CMAKE_OSX_ARCHITECTURES MATCHES "i386" AND CMAKE_OSX_ARCHITECTURES MATCHES "ppc") | ||
75 | set(LL_ARCH ${ARCH}_darwin) | 69 | set(LL_ARCH ${ARCH}_darwin) |
76 | set(LL_ARCH_DIR universal-darwin) | 70 | set(LL_ARCH_DIR universal-darwin) |
77 | endif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") | 71 | endif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") |