summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-06-03 09:02:32 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-06-03 09:02:32 +0000
commitc28c512dce1579fdac187f78e8282635a18d0a93 (patch)
treec2e19147445d6f3b8d2b37e33c94cd9686cfcff8
parent4cc4b30426c5e5a0ecf912791e3f27312438d10e (diff)
- Generate dummy rules for prerequisites.
Fixes build-failures in ldso when switching thread-impl because of missing rule to make e.g. pthreadtypes.h Thanks to Peter Kjellerstedt for the reminder.
-rw-r--r--Makerules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makerules b/Makerules
index b6a91c5e8..c27f0a3ce 100644
--- a/Makerules
+++ b/Makerules
@@ -123,7 +123,7 @@ maybe_exec = $(if $(strip $(compare_flags) $(any-prereq)), \
$(cmd_$(1)); \
echo 'cmd_$@ := $(cmd_$1)' >> $(dir $@).$(notdir $@).dep)
-CFLAGS_gen.dep = -MT $@ -MD -MF $(dir $@).$(notdir $@).dep
+CFLAGS_gen.dep = -MT $@ -MD -MP -MF $(dir $@).$(notdir $@).dep
cmd_compile.c = $(CC) -c $< -o $@ $(CFLAGS) $(ARCH_CFLAGS) \
$(CFLAGS-$(suffix $@)) \