Commit b808a317 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

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.
parent 8cf861ba
......@@ -36,7 +36,7 @@ endif
# -----------------------------------------------------------------------------
# RTS ways
WAYS=$(GhcLibWays) $(GhcRTSWays)
WAYS=$(strip $(GhcLibWays) $(GhcRTSWays))
ifneq "$(findstring debug, $(way))" ""
GhcRtsHcOpts=
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment