You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-lang/ghc/files/ghc-7.4-rc2-macos-prefix-re...

24 lines
776 B

diff --git a/aclocal.m4 b/aclocal.m4
index a377cb9..4f8fd69 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1950,17 +1950,7 @@ AC_DEFUN([XCODE_VERSION],[
# --------------------------------
# Finds where gcc is
AC_DEFUN([FIND_GCC],[
- if test "$TargetOS_CPP" = "darwin" &&
- test "$XCodeVersion1" -eq 4 &&
- test "$XCodeVersion2" -lt 2
- then
- # 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.
- FP_ARG_WITH_PATH_GNU_PROG([CC], [gcc-4.2])
- else
- FP_ARG_WITH_PATH_GNU_PROG([CC], [gcc])
- fi
+ FP_ARG_WITH_PATH_GNU_PROG([CC], [gcc])
export CC
WhatGccIsCalled="$CC"
AC_SUBST(WhatGccIsCalled)