[project @ 2002-06-09 14:01:27 by matthewc]
authormatthewc <unknown>
Sun, 9 Jun 2002 14:01:27 +0000 (14:01 +0000)
committermatthewc <unknown>
Sun, 9 Jun 2002 14:01:27 +0000 (14:01 +0000)
Build cbits (not necessarily RTS) with -G0 on IA64, so GHCI doesn't have
to deal with sdata sections

mk/config.mk.in

index 9fdc2a2..ad682b8 100644 (file)
@@ -662,6 +662,10 @@ endif
 # default C compiler flags
 SRC_CC_OPTS = @SRC_CC_OPTS@
 
+ifeq "$(TARGETPLATFORM)" "ia64-unknown-linux"
+SRC_CC_OPTS += -G0
+endif
+
 #-----------------------------------------------------------------------------
 # GMP Library (version 2.0.x or above)
 #