Commit ce706636 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Don't try to use gcc-4.2 on XCode >= 4.2

It was removed in 4.2.
parent b56e7b20
......@@ -1989,10 +1989,12 @@ AC_DEFUN([XCODE_VERSION],[
# Finds where gcc is
if test "$TargetOS_CPP" = "darwin" &&
test "$XCodeVersion1" -ge 4
test "$XCodeVersion1" -eq 4 &&
test "$XCodeVersion2" -lt 2
# From Xcode 4, use 'gcc-4.2' to force the use of the gcc legacy
# backend (instead of the LLVM backend)
# In Xcode 4.1, 'gcc-4.2' is the gcc legacy backend (rather
# than the LLVM backend). We prefer the legacy gcc, but in
# Xcode 4.2 'gcc-4.2' was removed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment