projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fb8bf85
)
ghc_ge_605 is now always YES
author
Ian Lynagh
<igloo@earth.li>
Sat, 8 Nov 2008 14:43:28 +0000
(14:43 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sat, 8 Nov 2008 14:43:28 +0000
(14:43 +0000)
compiler/Makefile.local
patch
|
blob
|
history
configure.ac
patch
|
blob
|
history
libraries/Makefile
patch
|
blob
|
history
mk/config.mk.in
patch
|
blob
|
history
utils/genapply/Makefile
patch
|
blob
|
history
utils/nofib-analyse/Makefile
patch
|
blob
|
history
diff --git
a/compiler/Makefile.local
b/compiler/Makefile.local
index
27f65ef
..
1d53451
100644
(file)
--- a/
compiler/Makefile.local
+++ b/
compiler/Makefile.local
@@
-23,11
+23,6
@@
GHC_OPTS += $(GhcStage$(stage)HcOpts)
GHC_OPTS += $(addprefix -optc, $(MACOSX_DEPLOYMENT_CC_OPTS))
LIB_LD_OPTS += $(addprefix -optl, $(MACOSX_DEPLOYMENT_LD_OPTS))
GHC_OPTS += $(addprefix -optc, $(MACOSX_DEPLOYMENT_CC_OPTS))
LIB_LD_OPTS += $(addprefix -optl, $(MACOSX_DEPLOYMENT_LD_OPTS))
-# Work around a bug "splitTyConApp e1{tv a2iZ}" in 6.4.2:
-ifeq "$(ghc_ge_605)" "NO"
-dist-stage1/build/IOEnv.o: GHC_OPTS += -O0
-endif
-
# XXX These didn't work in the old build system, according to the
# comment at least. We should actually handle them properly at some
# point:
# XXX These didn't work in the old build system, according to the
# comment at least. We should actually handle them properly at some
# point:
diff --git
a/configure.ac
b/configure.ac
index
9da99da
..
a055a2c
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-671,10
+671,8
@@
if test "$WithGhc" != ""; then
AC_SUBST(GhcPatchLevel)dnl
GhcMinVersion2=`echo "$GhcMinVersion" | sed 's/^\\(.\\)$/0\\1/'`
GhcCanonVersion="$GhcMajVersion$GhcMinVersion2"
AC_SUBST(GhcPatchLevel)dnl
GhcMinVersion2=`echo "$GhcMinVersion" | sed 's/^\\(.\\)$/0\\1/'`
GhcCanonVersion="$GhcMajVersion$GhcMinVersion2"
- if test $GhcCanonVersion -ge 605; then ghc_ge_605=YES; else ghc_ge_605=NO; fi
if test $GhcCanonVersion -ge 607; then ghc_ge_607=YES; else ghc_ge_607=NO; fi
if test $GhcCanonVersion -ge 609; then ghc_ge_609=YES; else ghc_ge_609=NO; fi
if test $GhcCanonVersion -ge 607; then ghc_ge_607=YES; else ghc_ge_607=NO; fi
if test $GhcCanonVersion -ge 609; then ghc_ge_609=YES; else ghc_ge_609=NO; fi
- AC_SUBST(ghc_ge_605)dnl
AC_SUBST(ghc_ge_607)dnl
AC_SUBST(ghc_ge_609)dnl
fi
AC_SUBST(ghc_ge_607)dnl
AC_SUBST(ghc_ge_609)dnl
fi
diff --git
a/libraries/Makefile
b/libraries/Makefile
index
624427f
..
5110687
100644
(file)
--- a/
libraries/Makefile
+++ b/
libraries/Makefile
@@
-116,9
+116,6
@@
subdirs:
HERE_ABS=$(FPTOOLS_TOP_ABS)/libraries
CABAL_GHC_FLAGS = -Wall
HERE_ABS=$(FPTOOLS_TOP_ABS)/libraries
CABAL_GHC_FLAGS = -Wall
-ifeq "$(ghc_ge_605)" "NO"
-CABAL_GHC_FLAGS += -cpp
-endif
BOOTSTRAPPING_FLAGS = $(CABAL_GHC_FLAGS) -DCABAL_VERSION=$(CABAL_VERSION) -odir $(HERE_ABS)/bootstrapping -hidir $(HERE_ABS)/bootstrapping -i$(HERE_ABS)/Cabal -i$(HERE_ABS)/filepath -i$(HERE_ABS)/hpc
BOOTSTRAPPING_FLAGS = $(CABAL_GHC_FLAGS) -DCABAL_VERSION=$(CABAL_VERSION) -odir $(HERE_ABS)/bootstrapping -hidir $(HERE_ABS)/bootstrapping -i$(HERE_ABS)/Cabal -i$(HERE_ABS)/filepath -i$(HERE_ABS)/hpc
diff --git
a/mk/config.mk.in
b/mk/config.mk.in
index
e8429e9
..
a178d2a
100644
(file)
--- a/
mk/config.mk.in
+++ b/
mk/config.mk.in
@@
-929,14
+929,12
@@
GhcPatchLevel = @ProjectPatchLevel@
GhcMajVersion = @GhcMajVersion@
GhcMinVersion = @GhcMinVersion@
GhcMajVersion = @GhcMajVersion@
GhcMinVersion = @GhcMinVersion@
-ghc_ge_605 = YES
ghc_ge_607 = YES
ghc_ge_609 = YES
else # not UseStage1 or BootingFromHc
# Some useful GHC version predicates:
ghc_ge_607 = YES
ghc_ge_609 = YES
else # not UseStage1 or BootingFromHc
# Some useful GHC version predicates:
-ghc_ge_605 = @ghc_ge_605@
ghc_ge_607 = @ghc_ge_607@
ghc_ge_609 = @ghc_ge_609@
ghc_ge_607 = @ghc_ge_607@
ghc_ge_609 = @ghc_ge_609@
diff --git
a/utils/genapply/Makefile
b/utils/genapply/Makefile
index
a017547
..
186eb0e
100644
(file)
--- a/
utils/genapply/Makefile
+++ b/
utils/genapply/Makefile
@@
-17,11
+17,7
@@
SRC_HC_OPTS += -package pretty
endif
# Try to get dependencies right...
endif
# Try to get dependencies right...
-ifeq "$(ghc_ge_605)" "YES"
SRC_HC_OPTS += -fforce-recomp
SRC_HC_OPTS += -fforce-recomp
-else
-SRC_HC_OPTS += -no-recomp
-endif
GenApply.o : $(GHC_INCLUDE_DIR)/ghcconfig.h
GenApply.o : $(GHC_INCLUDE_DIR)/MachRegs.h
GenApply.o : $(GHC_INCLUDE_DIR)/ghcconfig.h
GenApply.o : $(GHC_INCLUDE_DIR)/MachRegs.h
diff --git
a/utils/nofib-analyse/Makefile
b/utils/nofib-analyse/Makefile
index
43ae433
..
0fe5db1
100644
(file)
--- a/
utils/nofib-analyse/Makefile
+++ b/
utils/nofib-analyse/Makefile
@@
-8,9
+8,8
@@
ifeq "$(ghc_ge_607)" "YES"
SRC_HC_OPTS += -package containers
endif
SRC_HC_OPTS += -package containers
endif
-ifeq "$(ghc_ge_605)" "YES"
SRC_HC_OPTS += -package regex-compat -package html
SRC_HC_OPTS += -package regex-compat -package html
-endif
+
ifeq "$(ghc_ge_607)" "YES"
SRC_HC_OPTS += -package containers
endif
ifeq "$(ghc_ge_607)" "YES"
SRC_HC_OPTS += -package containers
endif