From: simonmar Date: Thu, 6 Jul 2000 09:35:37 +0000 (+0000) Subject: [project @ 2000-07-06 09:35:37 by simonmar] X-Git-Tag: Approximately_9120_patches~4075 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=07080fd8df2efba05acc475999fa00473af604e4;p=ghc-hetmet.git [project @ 2000-07-06 09:35:37 by simonmar] ghc 4.06 didn't have -package, so use it only for 4.07+. --- diff --git a/ghc/driver/Makefile b/ghc/driver/Makefile index 715770a..f81e3b3 100644 --- a/ghc/driver/Makefile +++ b/ghc/driver/Makefile @@ -1,5 +1,5 @@ #----------------------------------------------------------------------------- -# $Id: Makefile,v 1.40 2000/06/30 09:46:04 simonmar Exp $ +# $Id: Makefile,v 1.41 2000/07/06 09:35:37 simonmar Exp $ # TOP=.. @@ -10,8 +10,8 @@ ifeq "$(GhcWithHscBuiltViaC)" "YES" HC=$(GHC_INPLACE) endif -ghc_406_at_least = $(shell expr "$(GhcMinVersion)" \>= 6) -ifeq "$(ghc_406_at_least)" "1" +ghc_407_at_least = $(shell expr "$(GhcMinVersion)" \>= 7) +ifeq "$(ghc_407_at_least)" "1" SRC_HC_OPTS += -fglasgow-exts -cpp -package concurrent -package posix -package text else SRC_HC_OPTS += -fglasgow-exts -cpp -syslib concurrent -syslib posix -syslib misc