summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/paths.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/paths.mk b/mk/paths.mk
index 07520ef822..6951116916 100644
--- a/mk/paths.mk
+++ b/mk/paths.mk
@@ -210,7 +210,7 @@ EXCLUDED_C_SRCS = $(patsubst %.lhs, %_stub.c, $(HS_SRCS)) \
endif
# These are droppings from hsc2hs - ignore them if we see them.
-EXCLUDED_C_SRCS = $(patsubst %.hsc, %_hsc_make.c, $(HSC_SRCS))
+EXCLUDED_C_SRCS += $(patsubst %.hsc, %_hsc_make.c, $(HSC_SRCS))
C_SRCS = $(filter-out $(EXCLUDED_C_SRCS),$(filter %.c,$(SRCS)))
C_OBJS = $(addsuffix .$(way_)o,$(basename $(C_SRCS)))