[commit: ghc] ghc-7.8: Fix windows breakage (fallout from 34f7e9a3c998) (8b5d262)

git at git.haskell.org git at git.haskell.org
Fri Jul 4 14:59:49 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-7.8
Link       : http://ghc.haskell.org/trac/ghc/changeset/8b5d26208c80814afacb976a4ac22b5514b87aac/ghc

>---------------------------------------------------------------

commit 8b5d26208c80814afacb976a4ac22b5514b87aac
Author: Austin Seipp <austin at well-typed.com>
Date:   Fri Jul 4 09:40:25 2014 -0500

    Fix windows breakage (fallout from 34f7e9a3c998)
    
    Signed-off-by: Austin Seipp <austin at well-typed.com>
    (cherry picked from commit 0567a3133bfd3f2085d2fc0211e91eaed96a3e83)


>---------------------------------------------------------------

8b5d26208c80814afacb976a4ac22b5514b87aac
 aclocal.m4   | 1 +
 configure.ac | 3 ---
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/aclocal.m4 b/aclocal.m4
index feb4f38..7224cd5 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -452,6 +452,7 @@ AC_DEFUN([FP_SETTINGS],
         mingw_bin_prefix=mingw/bin/
         SettingsCCompilerCommand="\$topdir/../${mingw_bin_prefix}gcc.exe"
         SettingsHaskellCPPCommand="\$topdir/../${mingw_bin_prefix}gcc.exe"
+        SettingsHaskellCPPFlags="$HaskellCPPArgs"
         SettingsLdCommand="\$topdir/../${mingw_bin_prefix}ld.exe"
         SettingsArCommand="\$topdir/../${mingw_bin_prefix}ar.exe"
         SettingsPerlCommand='$topdir/../perl/perl.exe'
diff --git a/configure.ac b/configure.ac
index 3ac1cbd..f1b949b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -493,10 +493,7 @@ AC_ARG_WITH(hs-cpp,
     fi
 ],
 [
-    if test "$HostOS" != "mingw32"
-    then
         HaskellCPPCmd=$WhatGccIsCalled
-    fi
 ]
 )
 



More information about the ghc-commits mailing list