summaryrefslogtreecommitdiff
blob: d4dc386c97c51caaccf23b73991635e618ad3b16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -rN -u old-ghc-1/compiler/main/DriverPipeline.hs new-ghc/compiler/main/DriverPipeline.hs
--- old-ghc-1/compiler/main/DriverPipeline.hs	2006-09-13 10:33:23.000000000 +0200
+++ new-ghc/compiler/main/DriverPipeline.hs	2006-09-13 10:33:23.000000000 +0200
@@ -1014,6 +1014,8 @@
 	let ld_r args = SysTools.runLink dflags ([ 
 				SysTools.Option "-nostdlib",
 				SysTools.Option "-nodefaultlibs",
+				-- options '--relax' and '-r' are incompatible
+				SysTools.Option "-mno-relax",
 				SysTools.Option "-Wl,-r", 
 				SysTools.Option ld_x_flag, 
 				SysTools.Option "-o",