Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
5970d3a2
Commit
5970d3a2
authored
Jun 30, 2000
by
simonmar
Browse files
[project @ 2000-06-30 09:45:16 by simonmar]
Use GhcMinVersion to pick the correct cmdline args to build the driver.
parent
8562ce89
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/driver/Makefile
View file @
5970d3a2
#-----------------------------------------------------------------------------
# $Id: Makefile,v 1.3
8
2000/06/
28 14:00:37
simonmar Exp $
# $Id: Makefile,v 1.3
9
2000/06/
30 09:45:16
simonmar Exp $
#
TOP
=
..
...
...
@@ -10,7 +10,12 @@ ifeq "$(GhcWithHscBuiltViaC)" "YES"
HC
=
$(GHC_INPLACE)
endif
SRC_HC_OPTS
+=
-fglasgow-exts
-cpp
-syslib
concurrent
-syslib
posix
-syslib
text
ghc_406_at_least
=
$(
shell
expr
"
$(GhcMinVersion)
"
\>
6
)
ifeq
"$(ghc_406_at_least)" "1"
SRC_HC_OPTS
+=
-fglasgow-exts
-cpp
-package
concurrent
-package
posix
-package
text
else
SRC_HC_OPTS
+=
-fglasgow-exts
-cpp
-syslib
concurrent
-syslib
posix
-syslib
misc
endif
HS_PROG
=
ghc-
$(ProjectVersion)
HS_SRCS
=
Config.hs Package.hs Main.hs
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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