projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 1998-04-16 12:14:13 by sof]
[ghc-hetmet.git]
/
mk
/
config.mk.in
diff --git
a/mk/config.mk.in
b/mk/config.mk.in
index
7bd9106
..
d0e0ce1
100644
(file)
--- a/
mk/config.mk.in
+++ b/
mk/config.mk.in
@@
-192,7
+192,7
@@
GhcCompilerWays=
GhcHcOpts=
# GhcWithHscBuiltViaC - build GHC compiler proper (\`hsc') from .hc files?
GhcHcOpts=
# GhcWithHscBuiltViaC - build GHC compiler proper (\`hsc') from .hc files?
-GhcWithHscBuiltViaC=NO
+GhcWithHscBuiltViaC=@BootingFromHc@
# Build hsc with -O and turn optimising flag on when compiling
# the intermediate C file
# Build hsc with -O and turn optimising flag on when compiling
# the intermediate C file
@@
-249,11
+249,10
@@
else
ifeq "$(strip $(way))" "mr"
GhcLibHcOpts= -O
else
ifeq "$(strip $(way))" "mr"
GhcLibHcOpts= -O
else
-ifeq "$(GhcWithHscBuiltViaC)" "NO"
-GhcLibHcOpts= -O -split-objs -odir $*
+ifeq "$(GhcWithHscBuiltViaC)" "YES"
+GhcLibHcOpts=-O
else
else
-#NB: .hc files need to distributed in *unsplit* form.
-GhcLibHcOpts= -O
+GhcLibHcOpts=-O -split-objs -odir $*
endif
endif
endif
endif
endif
endif