Magellan Linux

Contents of /trunk/ghc/patches/ghc-6.12.2-chost.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1041 - (show annotations) (download)
Wed May 5 16:59:42 2010 UTC (13 years, 11 months ago) by niro
File size: 851 byte(s)
patches for ghc

1 --- old-ghc-6.12.0.20091010/configure.ac 2009-11-07 14:11:31.747192438 +0100
2 +++ new-ghc-6.12.0.20091010/configure.ac 2009-11-07 14:11:31.752194402 +0100
3 @@ -219,6 +219,8 @@
4 exit 1
5 fi
6 fi
7 +build=`echo "$build" | sed -e 's/linux-gnu/linux/' -e 's/-pc-/-unknown-/'`
8 +[build=`echo "$build" | sed -e 's/i[4-6]86/i386/'`] # escaping square bracket
9
10 if test "$host" = ""
11 then
12 @@ -231,6 +233,8 @@
13 exit 1
14 fi
15 fi
16 +host=`echo "$host" | sed -e 's/linux-gnu/linux/' -e 's/-pc-/-unknown-/'`
17 +[host=`echo "$host" | sed -e 's/i[4-6]86/i386/'`] # escaping square bracket
18
19 if test "$target" = ""
20 then
21 @@ -243,6 +247,8 @@
22 exit 1
23 fi
24 fi
25 +target=`echo "$target" | sed -e 's/linux-gnu/linux/' -e 's/-pc-/-unknown-/'`
26 +[target=`echo "$target" | sed -e 's/i[4-6]86/i386/'`] # escaping square bracket
27
28 exeext=''
29 soext='.so'