From 650d644055ff9cf23891611efb578e4fff07a1d9 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Fri, 11 Feb 2011 18:42:44 +0000 Subject: Fix platform detection in bindists In a bindist, we generate files like the hsc2hs wrapper. This means we need to have the right values for the variables like CONF_GCC_LINKER_OPTS_STAGE1 which in turn means we need to know what platform we're on. --- distrib/configure.ac.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'distrib') diff --git a/distrib/configure.ac.in b/distrib/configure.ac.in index e17bcf52b4..d5aa2be68d 100644 --- a/distrib/configure.ac.in +++ b/distrib/configure.ac.in @@ -18,6 +18,9 @@ dnl-------------------------------------------------------------------- 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 + # dnl ** Check Perl installation ** # -- cgit v1.2.1