From b808a3175fcfb4fcf0f77ca1ebd5f97eecf7001d Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sat, 15 Mar 2008 14:17:51 +0000 Subject: [PATCH] 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. --- rts/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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= -- 1.7.10.4