projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8cf861b
)
When concatenating variables in Makefile, strip spaces in case one is empty
author
Ian Lynagh
<igloo@earth.li>
Sat, 15 Mar 2008 14:17:51 +0000
(14:17 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sat, 15 Mar 2008 14:17:51 +0000
(14:17 +0000)
Otherwise "$(A) $(B)" will not be equal to "" even if A and B are empty.
Trac #856.
rts/Makefile
patch
|
blob
|
history
diff --git
a/rts/Makefile
b/rts/Makefile
index
d88a823
..
2a20279
100644
(file)
--- a/
rts/Makefile
+++ b/
rts/Makefile
@@
-36,7
+36,7
@@
endif
# -----------------------------------------------------------------------------
# RTS ways
-WAYS=$(GhcLibWays) $(GhcRTSWays)
+WAYS=$(strip $(GhcLibWays) $(GhcRTSWays))
ifneq "$(findstring debug, $(way))" ""
GhcRtsHcOpts=