6d562261fb
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
14 lines
724 B
Diff
14 lines
724 B
Diff
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",
|