Procházet zdrojové kódy

- 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 před 18 roky
rodič
revize
c28c512dce
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 $@)) \