OSDN Git Service

- Generate dummy rules for prerequisites.
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 3 Jun 2008 09:02:32 +0000 (09:02 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 3 Jun 2008 09:02:32 +0000 (09:02 -0000)
  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.

Makerules

index b6a91c5..c27f0a3 100644 (file)
--- 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 $@)) \