X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FMakefile;h=6385c779220b7f9ded1474f77b58e3e48f3a7dfd;hb=9fd4126858ff63ef9dc1c71f439eed11ef69f169;hp=e23cbce9b1ee0b2e92b01fa2c72a04c9ffa6e005;hpb=a05d3018de55f57b7a2aaf810f1ce5a7f07d4f04;p=ghc-hetmet.git diff --git a/compiler/Makefile b/compiler/Makefile index e23cbce..6385c77 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -571,30 +571,6 @@ ifeq "$(BootingFromHc)" "YES" SRC_CC_OPTS += -D__GLASGOW_HASKELL__=$(ProjectVersionInt) endif -# Special flags for particular modules -# The standard suffix rule for compiling a Haskell file -# adds these flags to the command line - -# There used to be a -fforce-recomp flag on PrimOp, but why? -# It's an expensive module to recompile! -prelude/PrimOp_HC_OPTS = -H80m - - -main/ParsePkgConf_HC_OPTS += -fno-warn-incomplete-patterns -parser/Parser_HC_OPTS += -fno-warn-incomplete-patterns - -# Careful optimisation of the parser: we don't want to throw everything -# at it, because that takes too long and doesn't buy much, but we do want -# to inline certain key external functions, so we instruct GHC not to -# throw away inlinings as it would normally do in -O0 mode: -parser/Parser_HC_OPTS += -O0 -fno-ignore-interface-pragmas - -ifeq "$(HOSTPLATFORM)" "hppa1.1-hp-hpux9" -rename/RnMonad_HC_OPTS = -O2 -O2-for-C -endif - -# basicTypes/SrcLoc_HC_OPTS = -funbox-strict-fields - # ---- Profiling ---- #simplCore/Simplify_HC_OPTS = -auto-all #simplCore/SimplEnv_HC_OPTS = -auto-all @@ -623,10 +599,6 @@ endif # prototype via a global option instead of a myriad of per-file OPTIONS SRC_HC_OPTS += '-\#include "cutils.h"' -ifeq "$(ghc_ge_605)" "NO" -utils/LazyUniqFM_HC_OPTS += -fallow-undecidable-instances -endif - # ---------------------------------------------------------------------------- # Generate supporting stuff for prelude/PrimOp.lhs # from prelude/primops.txt