Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 3530848b5522f827d1f2e05151567930 > files > 5

ghc-7.0.2-16.8.fc15.src.rpm

diff -Nuard ghc-7.0.1.orig/compiler/main/DriverPipeline.hs ghc-7.0.1/compiler/main/DriverPipeline.hs
--- ghc-7.0.1.orig/compiler/main/DriverPipeline.hs	2010-11-12 19:10:03.000000000 +0100
+++ ghc-7.0.1/compiler/main/DriverPipeline.hs	2011-02-22 11:08:26.079686994 +0100
@@ -1211,6 +1211,9 @@
         let ld_r args = SysTools.runLink dflags ([
                             SysTools.Option "-nostdlib",
                             SysTools.Option "-nodefaultlibs",
+#ifdef sparc_TARGET_ARCH
+                            SysTools.Option "-Wl,--no-relax",
+#endif
                             SysTools.Option "-Wl,-r",
                             SysTools.Option ld_x_flag,
                             SysTools.Option "-o",