--- src/ld/Options.cpp.orig 2012-09-04 14:00:10.000000000 -0700 +++ src/ld/Options.cpp 2012-09-04 14:00:37.000000000 -0700 @@ -50,7 +50,7 @@ namespace lto { // magic to place command line in crash reports const int crashreporterBufferSize = 2000; static char crashreporterBuffer[crashreporterBufferSize]; -#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1070 +#if 0 && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1070 #include // hack until ld does not need to build on 10.6 anymore struct crashreporter_annotations_t gCRAnnotations @@ -4246,7 +4247,7 @@ void Options::checkForClassic(int argc, bool newLinker = false; // build command line buffer in case ld crashes -#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1070 +#if 0 && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1070 CRSetCrashLogMessage(crashreporterBuffer); #endif const char* srcRoot = getenv("SRCROOT");