Преглед изворни кода

- 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.

Bernhard Reutner-Fischer пре 18 година
родитељ
комит
c28c512dce
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Makerules

+ 1 - 1
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 $@)) \