Commit ad428ac6 authored by rrt's avatar rrt
Browse files

[project @ 2001-07-11 13:24:24 by rrt]

Replace GhcLibToolsHcOpts with FptoolsHcOpts, and make it apply to all
programs in fptools, not just the hslibs tools. Now there's a way of
controlling compiler flags to all programs in the tree, so

a) by default all utilities should be optimised (before this was only done
for one or two like hsc2hs)

b) if you're doing development work, you can get everything built quicker by
setting FptoolsHcOpts appropriately
parent f206503f
......@@ -298,8 +298,8 @@ HsLibsFor = ghc
# hslibs for GHC also uses the following variables (defined above):
# GhcLibWays, GhcLibHcOpts, GhcLibToolsHcOpts, DLLized, StripLibraries
# Haskell compiler options for tools in hslibs
# Haskell compiler options for tools in fptools
# Build the Haskell Readline bindings?
......@@ -312,6 +312,9 @@ endif
SRC_HC_OPTS += $(patsubst %, -package %, $(PACKAGE_DEPS))
ifneq "$(PACKAGE)" ""
SRC_HC_OPTS += -package-name $(PACKAGE)
# No library, we are actually building the tools
SRC_HC_OPTS += $(FptoolsHcOpts)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment