[project @ 2005-09-16 10:36:53 by simonmar]
authorsimonmar <unknown>
Fri, 16 Sep 2005 10:36:53 +0000 (10:36 +0000)
committersimonmar <unknown>
Fri, 16 Sep 2005 10:36:53 +0000 (10:36 +0000)
only set bootstrapped=YES if the version we're building with is
exactly the *same* as the version being built, rather than a later
version.

ghc/compiler/Makefile

index 68348ef..b345b47 100644 (file)
@@ -390,7 +390,7 @@ else
 ifneq "$(findstring $(stage), 2 3)" ""
 bootstrapped = YES
 else
-bootstrapped = $(shell if (test $(GhcCanonVersion) -ge $(ProjectVersionInt) -a $(GhcPatchLevel) -ge $(ProjectPatchLevel)); then echo YES; else echo NO; fi)
+bootstrapped = $(shell if (test $(GhcCanonVersion) -eq $(ProjectVersionInt) -a $(GhcPatchLevel) -eq $(ProjectPatchLevel)); then echo YES; else echo NO; fi)
 endif
 endif