Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
e5bc09bc
Commit
e5bc09bc
authored
May 20, 2009
by
Ian Lynagh
Browse files
Use SRC_HC_OPTS when making ghc-cabal and ghc-pkg
parent
3bc03ff9
Changes
2
Hide whitespace changes
Inline
Side-by-side
utils/ghc-cabal/ghc.mk
View file @
e5bc09bc
...
...
@@ -25,7 +25,7 @@ $(GHC_CABAL_INPLACE) : $(GHC_CABAL_DIR)/dist/build/tmp/ghc-cabal$(exeext)
$(GHC_CABAL_DIR)/dist/build/tmp/ghc-cabal$(exeext)
:
$(GHC_CABAL_DIR)/ghc-cabal.hs $(MKDIRHIER)
$(MKDIRHIER)
bootstrapping
$(MKDIRHIER)
$(
dir
$@
)
$(GHC)
--make
$(GHC_CABAL_DIR)
/ghc-cabal.hs
-o
$@
\
$(GHC)
$(SRC_HC_OPTS)
--make
$(GHC_CABAL_DIR)
/ghc-cabal.hs
-o
$@
\
-Wall
$(WERROR)
\
-DCABAL_VERSION
=
$(CABAL_VERSION)
\
-odir
bootstrapping
\
...
...
utils/ghc-pkg/ghc.mk
View file @
e5bc09bc
...
...
@@ -49,7 +49,7 @@ endif
utils/ghc-pkg/dist/build/$(utils/ghc-pkg_dist_PROG)$(exeext)
:
utils/ghc-pkg/Main.hs utils/ghc-pkg/Version.hs $(GHC_CABAL_INPLACE) $(MKDIRHIER)
$(MKDIRHIER)
bootstrapping
$(MKDIRHIER)
utils/ghc-pkg/dist/build
$(GHC)
--make
utils/ghc-pkg/Main.hs
-o
$@
\
$(GHC)
$(SRC_HC_OPTS)
--make
utils/ghc-pkg/Main.hs
-o
$@
\
-Wall
\
-DCABAL_VERSION
=
$(CABAL_VERSION)
\
-odir
bootstrapping
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment