When concatenating variables in Makefile, strip spaces in case one is empty
[ghc-hetmet.git] / rts / Makefile
index d88a823..2a20279 100644 (file)
@@ -36,7 +36,7 @@ endif
 # -----------------------------------------------------------------------------
 # RTS ways
 
-WAYS=$(GhcLibWays) $(GhcRTSWays)
+WAYS=$(strip $(GhcLibWays) $(GhcRTSWays))
 
 ifneq "$(findstring debug, $(way))" ""
 GhcRtsHcOpts=