summaryrefslogtreecommitdiff
path: root/rts/Makefile
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-03-15 14:17:51 +0000
committerIan Lynagh <igloo@earth.li>2008-03-15 14:17:51 +0000
commitb808a3175fcfb4fcf0f77ca1ebd5f97eecf7001d (patch)
tree9d5e3c91280d07d3cffa5d160c4b1fa6d150fdfe /rts/Makefile
parent8cf861ba91941412e93f70a916233223aebf686e (diff)
downloadhaskell-b808a3175fcfb4fcf0f77ca1ebd5f97eecf7001d.tar.gz
When concatenating variables in Makefile, strip spaces in case one is empty
Otherwise "$(A) $(B)" will not be equal to "" even if A and B are empty. Trac #856.
Diffstat (limited to 'rts/Makefile')
-rw-r--r--rts/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Makefile b/rts/Makefile
index d88a82308b..2a20279382 100644
--- 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=