Commit 6b086342 authored by Simon Marlow's avatar Simon Marlow

Validate fix: no cross compilation for bindists

Maybe we could revisit whether we want to allow building bindists of
cross-compilers later, but for now I'm fixing validate by setting all
the cross-compilation settings to NO.
parent 884a28d3
......@@ -21,6 +21,18 @@ FP_GMP
bootstrap_target=`ghc/stage2/build/tmp/ghc-stage2 +RTS --info | grep '^ ,("Target platform"' | sed -e 's/.*, "//' -e 's/")//' | tr -d '\r'`
FPTOOLS_SET_PLATFORM_VARS
BuildingCrossCompiler=NO
PortingCompiler=NO
CrossCompiling=NO
CrossCompilePrefix=""
TargetPlatformFull="${target}"
AC_SUBST(BuildingCrossCompiler) # 'toolchain' case
AC_SUBST(PortingCompiler) # 'port' case
AC_SUBST(CrossCompiling) # BuildingCrossCompiler OR PortingCompiler
AC_SUBST(CrossCompilePrefix)
AC_SUBST(TargetPlatformFull)
#
dnl ** Check Perl installation **
#
......@@ -51,7 +63,9 @@ XCODE_VERSION()
dnl ** Which gcc to use?
dnl --------------------------------------------------------------
FIND_GCC()
FIND_GCC([WhatGccIsCalled], [gcc], [gcc])
CC="$WhatGccIsCalled"
export CC
FP_GCC_VERSION
AC_PROG_CPP
......
Markdown is supported
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