From 12fded401e78ddb21f4183d35a86838c6f230a33 Mon Sep 17 00:00:00 2001 From: narv Date: Wed, 2 Feb 2011 15:17:31 -0700 Subject: [PATCH] Build with GCC 4.2 on Darwin --- indra/cmake/Variables.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/cmake/Variables.cmake b/indra/cmake/Variables.cmake index a870c8c1a..2f6dd3fe4 100644 --- a/indra/cmake/Variables.cmake +++ b/indra/cmake/Variables.cmake @@ -89,9 +89,9 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") set(CMAKE_OSX_DEPLOYMENT_TARGET 10.5) endif (NOT CMAKE_OSX_DEPLOYMENT_TARGET) - # GCC 4.2 is incompatible with the MacOSX 10.5 SDK + # Use GCC 4.2 if (${CMAKE_OSX_SYSROOT} MATCHES "10.5") - set(CMAKE_XCODE_ATTRIBUTE_GCC_VERSION "4.0") + set(CMAKE_XCODE_ATTRIBUTE_GCC_VERSION "4.2") endif (${CMAKE_OSX_SYSROOT} MATCHES "10.5") # NOTE: To attempt an i386/PPC Universal build, add this on the configure line: