From c13a388b916d8c4b200e58f4295f03e502d57e89 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Mon, 28 Jan 2008 12:07:58 +0000 Subject: [PATCH] Corrected the Makefile so that the GHC 6.8.x-only flags actually work on GHC 6.8.x --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 0ca90ab..b239ca9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -51,7 +51,7 @@ CompilerCommands.hs: Makefile frontends/LexOccam.hs: frontends/LexOccam.x alex -g frontends/LexOccam.x -o frontends/LexOccam.temphs if GHC68 - echo "{- OPTIONS_GHC -fno-warn-tabs -}\n" > frontends/LexOccam.hs + echo "{-# OPTIONS_GHC -fno-warn-tabs -fno-warn-monomorphism-restriction #-}" > frontends/LexOccam.hs cat frontends/LexOccam.temphs >> frontends/LexOccam.hs rm frontends/LexOccam.temphs else @@ -61,7 +61,7 @@ endif frontends/LexRain.hs: frontends/LexRain.x alex -g frontends/LexRain.x -o frontends/LexRain.temphs if GHC68 - echo "{- OPTIONS_GHC -fno-warn-tabs -}\n" > frontends/LexRain.hs + echo "{-# OPTIONS_GHC -fno-warn-tabs -fno-warn-monomorphism-restriction #-}" > frontends/LexRain.hs cat frontends/LexRain.temphs >> frontends/LexRain.hs rm frontends/LexRain.temphs else