From: Ian Lynagh Date: Sat, 15 Mar 2008 14:17:51 +0000 (+0000) Subject: When concatenating variables in Makefile, strip spaces in case one is empty X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=b808a3175fcfb4fcf0f77ca1ebd5f97eecf7001d 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. --- diff --git a/rts/Makefile b/rts/Makefile index d88a823..2a20279 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=